Skip to content

Kirby 6.0.0

$pageValidators->validateMoveToTemplate()

Validates that a pages field of the given parent lists pages with the page's blueprint

$pageValidators->validateMoveToTemplate(Site|Page $parent): void

Parameters

Name Type Default
$parentrequired Kirby\Cms\SiteorKirby\Cms\Page no default value

Parent class

Kirby\Guards\PageValidators