You are here

public function UserFilteredSelection::setUserSectionStorage in Workbench Access 8

Sets userSectionStorage.

Parameters

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

Return value

$this

File

src/Plugin/EntityReferenceSelection/UserFilteredSelection.php, line 58

Class

UserFilteredSelection
Provides specific access control for the user entity type.

Namespace

Drupal\workbench_access\Plugin\EntityReferenceSelection

Code

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