You are here

public function AccessControlHierarchyBase::label in Workbench Access 8

Returns the label for a hierarchy.

Return value

string The human-readable label for a hierarchy.

Overrides AccessControlHierarchyInterface::label

File

src/AccessControlHierarchyBase.php, line 134

Class

AccessControlHierarchyBase
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

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