Skip to content

Kirby 5.1.2

$pagePicker->parent()

Returns the parent model. The model will be used to fetch subpages unless there's a specific query to find pages instead.

$pagePicker->parent(): Kirby\Cms\Page|Kirby\Cms\Site

Return types

Kirby\Cms\PageorKirby\Cms\Site

This method modifies the existing $pagepicker object it is applied to and returns it again.

Parent class

Kirby\Cms\PagePicker