$file->isDisabledDropdownOption()
Checks for disabled dropdown options according to the given permissions
$file->isDisabledDropdownOption(string $action, array $options, array $permissions): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $actionrequired | string |
no default value |
| $optionsrequired | array |
no default value |
| $permissionsrequired | array |
no default value |
Return type
bool
This method modifies the existing $file object it is applied to and returns it again.
Parent class
Kirby\Panel\File
inherited from Kirby\Panel\Model