You are here

public function AccessScheme::getAccessScheme in Workbench Access 8

Gets the access scheme for this configuration entity.

Return value

\Drupal\workbench_access\AccessControlHierarchyInterface Gets the access scheme.

Overrides AccessSchemeInterface::getAccessScheme

File

src/Entity/AccessScheme.php, line 107

Class

AccessScheme
Defines the Access scheme entity.

Namespace

Drupal\workbench_access\Entity

Code

public function getAccessScheme() {
  return $this
    ->getPluginCollection()
    ->get($this->scheme);
}