Skip to content

Kirby 5.0.4

$filePicker->toArray()

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

$filePicker->toArray(): array

Return type

array

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

Parent class

Kirby\Cms\FilePicker inherited from Kirby\Cms\Picker