public function GroupPermissionsOutsiderForm::__construct in Group 2.0.x
Same name and namespace in other branches
- 8 src/Form/GroupPermissionsOutsiderForm.php \Drupal\group\Form\GroupPermissionsOutsiderForm::__construct()
Constructs a new GroupPermissionsOutsiderForm.
Parameters
\Drupal\group\GroupRoleSynchronizerInterface $group_role_synchronizer: The group role synchronizer service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\group\Access\GroupPermissionHandlerInterface $permission_handler: The group permission handler.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
Overrides GroupPermissionsTypeSpecificForm::__construct
File
- src/
Form/ GroupPermissionsOutsiderForm.php, line 35
Class
- GroupPermissionsOutsiderForm
- Permission form for the synchronized outsider roles for a group type.
Namespace
Drupal\group\FormCode
public function __construct(GroupRoleSynchronizerInterface $group_role_synchronizer, EntityTypeManagerInterface $entity_type_manager, GroupPermissionHandlerInterface $permission_handler, ModuleHandlerInterface $module_handler) {
parent::__construct($entity_type_manager, $permission_handler, $module_handler);
$this->groupRoleSynchronizer = $group_role_synchronizer;
}