You are here

public function GroupPermissionsForm::__construct in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/GroupPermissionsForm.php \Drupal\group\Form\GroupPermissionsForm::__construct()

Constructs a new GroupPermissionsForm.

Parameters

\Drupal\group\Access\GroupPermissionHandlerInterface $permission_handler: The group permission handler.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

1 call to GroupPermissionsForm::__construct()
GroupPermissionsTypeSpecificForm::__construct in src/Form/GroupPermissionsTypeSpecificForm.php
Constructs a new GroupPermissionsTypeSpecificForm.
1 method overrides GroupPermissionsForm::__construct()
GroupPermissionsTypeSpecificForm::__construct in src/Form/GroupPermissionsTypeSpecificForm.php
Constructs a new GroupPermissionsTypeSpecificForm.

File

src/Form/GroupPermissionsForm.php, line 39

Class

GroupPermissionsForm
Provides the group permissions administration form.

Namespace

Drupal\group\Form

Code

public function __construct(GroupPermissionHandlerInterface $permission_handler, ModuleHandlerInterface $module_handler) {
  $this->groupPermissionHandler = $permission_handler;
  $this->moduleHandler = $module_handler;
}