You are here

public function WorkbenchAccessByUserForm::__construct in Workbench Access 8

Constructs a new WorkbenchAccessConfigForm.

Parameters

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

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

File

src/Form/WorkbenchAccessByUserForm.php, line 49

Class

WorkbenchAccessByUserForm
Configure Workbench Access per user.

Namespace

Drupal\workbench_access\Form

Code

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