Skip to content

Kirby 5.0.4

$userPicker->toArray()

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

$userPicker->toArray(): array

Return type

array

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

Parent class

Kirby\Cms\UserPicker inherited from Kirby\Cms\Picker