$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 |
$pageListField->parentModel(): Page|Site
Kirby\Cms\PageorKirby\Cms\Site
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |
If the parent is neither the site nor a page |