Skip to content

Kirby 3.6.6

$user->isDisabledDropdownOption()

Checks for disabled dropdown options according to the given permissions

$user->isDisabledDropdownOption(string $action, array $options, array $permissions): bool

Parameters

Name Type Default
$action * string
$options * array
$permissions * array

Return type

bool

Parent class

Kirby\Panel\User inherited from Kirby\Panel\Model