You are here

public function WorkbenchAccessSections::__construct in Workbench Access 8

Constructs a new WorkbenchAccessConfigForm.

Parameters

\Drupal\workbench_access\WorkbenchAccessManagerInterface $manager: The Workbench Access hierarchy manager.

\Drupal\workbench_access\RoleSectionStorageInterface $role_section_storage: The role section storage service.

\Drupal\workbench_access\UserSectionStorageInterface $user_section_storage: The user section storage service.

File

src/Controller/WorkbenchAccessSections.php, line 51

Class

WorkbenchAccessSections
Generates the sections list page.

Namespace

Drupal\workbench_access\Controller

Code

public function __construct(WorkbenchAccessManagerInterface $manager, RoleSectionStorageInterface $role_section_storage, UserSectionStorageInterface $user_section_storage) {
  $this->manager = $manager;
  $this->roleSectionStorage = $role_section_storage;
  $this->userSectionStorage = $user_section_storage;
}