Skip to content

Kirby 6.0.0

$userSettingsDropdownController->isDisabledOption()

Checks for disabled options according to the given permissions

$userSettingsDropdownController->isDisabledOption() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$userSettingsDropdownController->isDisabledOption(string $action): bool

Parameters

Name Type Default
$actionrequired string no default value

Return type

bool

Parent class

Kirby\Panel\Controller\Dropdown\UserSettingsDropdownController inherited from Kirby\Panel\Controller\Dropdown\ModelSettingsDropdownController