$pagepicker->modelForQuery()
Returns a model object for the given query, depending on the parent and subpages options.
$pagepicker->modelForQuery(): Kirby\Cms\Page|Kirby\Cms\Site|null
Return type
Kirby\Cms\Page
|Kirby\Cms\Site
|null
Returns a model object for the given query, depending on the parent and subpages options.
$pagepicker->modelForQuery(): Kirby\Cms\Page|Kirby\Cms\Site|null
Kirby\Cms\Page
|Kirby\Cms\Site
|null