Skip to content

Kirby 3.9.8

$site->isDisabledDropdownOption()

Checks for disabled dropdown options according to the given permissions

$site->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\Site inherited from Kirby\Panel\Model