$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 |Kirby\Cms\Site |null |
null |
Return type
array
|null