You are here

public function AccessControlHierarchyBase::entityType in Workbench Access 8

Gets the entity type id controlled by the scheme.

Note that this is an API change and not in the Interface. @TODO: add to interface in version 2.0.

Return value

string The entity type id of entities controlled by the scheme.

File

src/AccessControlHierarchyBase.php, line 147

Class

AccessControlHierarchyBase
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

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