Skip to content

Kirby 3.7.5

$pagepicker->itemsToArray()

Converts all given items to an associative array that is already optimized for the panel picker component.

$pagepicker->itemsToArray(\Kirby\Cms\Collection|null $items = null): array

Parameters

Name Type Default
$items Kirby\Cms\Collection|null null

Return type

array

Parent class

Kirby\Cms\PagePicker inherited from Kirby\Cms\Picker