Skip to content

Kirby 4.4.1

$model->isDisabledDropdownOption()

Checks for disabled dropdown options according to the given permissions

$model->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\Model