You are here

public function UserSection::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/field/UserSection.php, line 89

Class

UserSection
Field handler to present the section assigned to the user.

Namespace

Drupal\workbench_access\Plugin\views\field

Code

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