You are here

public function TaxonomyHierarchySelection::setUserSectionStorage in Workbench Access 8

Sets userSectionStorage.

Parameters

\Drupal\workbench_access\UserSectionStorageInterface $userSectionStorage: New value for userSectionStorage.

Return value

$this

File

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

Class

TaxonomyHierarchySelection
Provides specific access control for the taxonomy_term entity type.

Namespace

Drupal\workbench_access\Plugin\EntityReferenceSelection

Code

public function setUserSectionStorage(UserSectionStorageInterface $userSectionStorage) {
  $this->userSectionStorage = $userSectionStorage;
  return $this;
}