Skip to content

Kirby 4.2.0

$pagepicker->model()

Returns the parent model object that is currently selected in the page picker.

$pagepicker->model(): Kirby\Cms\Page|Kirby\Cms\Site|null

Return type

Kirby\Cms\Page|Kirby\Cms\Site|null

Parent class

Kirby\Cms\PagePicker