public function GroupTypeController::__construct in Group 8
Same name and namespace in other branches
- 2.0.x 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\GroupContentEnablerManagerInterface $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\ControllerCode
public function __construct(ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entity_type_manager, GroupContentEnablerManagerInterface $plugin_manager) {
$this->moduleHandler = $module_handler;
$this->entityTypeManager = $entity_type_manager;
$this->pluginManager = $plugin_manager;
}