You are here

public function SectionId::setUserSectionStorage in Workbench Access 8

Sets user section storage.

Parameters

\Drupal\workbench_access\UserSectionStorageInterface $userSectionStorage: User section storage.

Return value

$this

File

src/Plugin/views/filter/SectionId.php, line 59

Class

SectionId
Filter by assigned section.

Namespace

Drupal\workbench_access\Plugin\views\filter

Code

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