$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
Returns the parent model object that is currently selected in the page picker.
$pagepicker->model(): Kirby\Cms\Page|Kirby\Cms\Site|null
Kirby\Cms\Page
|Kirby\Cms\Site
|null