You are here

public function AccessControlHierarchyBase::id in Workbench Access 8

Returns the id for a hierarchy.

This id value is used throughout the code as the section id, which is used to store information about access controls set by the module.

Return value

string Access control ID.

Overrides AccessControlHierarchyInterface::id

File

src/AccessControlHierarchyBase.php, line 127

Class

AccessControlHierarchyBase
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

public function id() {
  return $this->pluginDefinition['id'];
}