You are here

public function TaxonomyHierarchySelection::setScheme in Workbench Access 8

Sets access scheme.

Parameters

\Drupal\workbench_access\Entity\AccessSchemeInterface $scheme: Access scheme.

Return value

$this

File

src/Plugin/EntityReferenceSelection/TaxonomyHierarchySelection.php, line 97

Class

TaxonomyHierarchySelection
Provides specific access control for the taxonomy_term entity type.

Namespace

Drupal\workbench_access\Plugin\EntityReferenceSelection

Code

public function setScheme(AccessSchemeInterface $scheme) {
  $this->scheme = $scheme;
  return $this;
}