$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 types
Kirby\Cms\Page
orKirby\Cms\Site
ornull
This method modifies the existing $pagepicker
object it is applied to and returns it again.