Skip to content

Kirby 4.5.0

$page->isDisabledDropdownOption()

Checks for disabled dropdown options according to the given permissions

$page->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\Page inherited from Kirby\Panel\Model