You are here

public function WorkbenchAccessByRoleForm::__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.

File

src/Form/WorkbenchAccessByRoleForm.php, line 46

Class

WorkbenchAccessByRoleForm
Configure Workbench Access per role.

Namespace

Drupal\workbench_access\Form

Code

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