You are here

public function GroupTypeController::__construct in Group 2.0.x

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

Constructs a new GroupTypeController.

Parameters

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

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\group\Plugin\Group\Relation\GroupRelationManagerInterface $plugin_manager: The group content plugin manager.

File

src/Entity/Controller/GroupTypeController.php, line 58

Class

GroupTypeController
Provides the user permissions administration form for a specific group type.

Namespace

Drupal\group\Entity\Controller

Code

public function __construct(ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entity_type_manager, GroupRelationManagerInterface $plugin_manager) {
  $this->moduleHandler = $module_handler;
  $this->entityTypeManager = $entity_type_manager;
  $this->pluginManager = $plugin_manager;
}