Skip to content

Kirby 4.5.0

PageRules::move()

Check if the page can be moved to the given parent

PageRules::move(Kirby\Cms\Page $page, Kirby\Cms\Site|Kirby\Cms\Page $parent): bool

Parameters

Name Type Default
$page * Kirby\Cms\Page
$parent * Kirby\Cms\Site|Kirby\Cms\Page

Return type

bool

Parent class

Kirby\Cms\PageRules