Skip to content

Kirby 5.1.4

$user->dropdownOption()

Returns the setup for a dropdown option which is used in the changes dropdown for example.

Deprecated in 5.1.4
Use the Kirby\Panel\Ui\Item\UserItem class instead
$user->dropdownOption(): array

Return type

array

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

Parent class

Kirby\Panel\User