$page->move()
Moves the page to a new parent if the new parent accepts the page type
$page->move(Kirby\Cms\Site|Kirby\Cms\Page $parent): Kirby\Cms\Page
Parameters
Name | Type | Default |
---|---|---|
$parent * | Kirby\Cms\Site |Kirby\Cms\Page |
– |
Moves the page to a new parent if the new parent accepts the page type
$page->move(Kirby\Cms\Site|Kirby\Cms\Page $parent): Kirby\Cms\Page
Name | Type | Default |
---|---|---|
$parent * | Kirby\Cms\Site |Kirby\Cms\Page |
– |