$page->move()
Moves the page to a new parent if the new parent accepts the page type
$page->move(Site|Page $parent): Page
Parameters
| Name | Type | Default |
|---|---|---|
| $parentrequired | Kirby\Cms\SiteorKirby\Cms\Page |
no default value |
Moves the page to a new parent if the new parent accepts the page type
$page->move(Site|Page $parent): Page
| Name | Type | Default |
|---|---|---|
| $parentrequired | Kirby\Cms\SiteorKirby\Cms\Page |
no default value |