$pagePicker->modelToArray()
Returns basic information about the parent model that is currently selected in the page picker.
$pagePicker->modelToArray(Kirby\Cms\Page|Kirby\Cms\Site|null $model = null): array|null
Parameters
Name | Type | Default |
---|---|---|
$model | Kirby\Cms\Page orKirby\Cms\Site ornull |
null
|
Return types
array
ornull
This method modifies the existing $pagepicker
object it is applied to and returns it again.