You are here

public function Section::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/Section.php, line 78

Class

Section
Filter by assigned section.

Namespace

Drupal\workbench_access\Plugin\views\filter

Code

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