public function AccessControlHierarchyInterface::disallowedOptions in Workbench Access 8
Gets any options that are set but cannot be changed by the editor.
These options are typically passed as hidden form values so that an editor does not remove sections that they cannot access. See submitEntity() below for the implementation.
Parameters
string $field: The field element from a node form, after running through alterOptions().
Return value
array An array of section ids to remove from a form or list.
1 method overrides AccessControlHierarchyInterface::disallowedOptions()
- AccessControlHierarchyBase::disallowedOptions in src/
AccessControlHierarchyBase.php - Gets any options that are set but cannot be changed by the editor.
File
- src/
AccessControlHierarchyInterface.php, line 157
Class
- AccessControlHierarchyInterface
- Defines a base hierarchy class that others may extend.
Namespace
Drupal\workbench_accessCode
public function disallowedOptions($field);