Skip to content

Kirby 3.8.4

$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