Skip to content

Kirby 5.0.4

$picker->toArray()

Returns an associative array with all information for the picker. This will be passed directly to the API.

$picker->toArray(): array

Return type

array

This method modifies the existing $picker object it is applied to and returns it again.

Parent class

Kirby\Cms\Picker