Skip to content

Kirby 6.0.0

$pageListField->parentModel()

$pageListField->parentModel(): Page|Site

Return types

Kirby\Cms\PageorKirby\Cms\Site

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException If the parent is neither the site nor a page

Parent class

Kirby\Form\Field\PageListField