Skip to content

Kirby 3.8.4

$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