public function GroupNodeController::__construct in Group 2.0.x
Same name and namespace in other branches
- 8 modules/gnode/src/Controller/GroupNodeController.php \Drupal\gnode\Controller\GroupNodeController::__construct()
Constructs a new GroupNodeController.
Parameters
\Drupal\group\Plugin\Group\Relation\GroupRelationManagerInterface $plugin_manager: The group content plugin manager.
\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The private store factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Entity\EntityFormBuilderInterface $entity_form_builder: The entity form builder.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
Overrides GroupContentController::__construct
File
- modules/
gnode/ src/ Controller/ GroupNodeController.php, line 40
Class
- GroupNodeController
- Returns responses for 'group_node' GroupContent routes.
Namespace
Drupal\gnode\ControllerCode
public function __construct(GroupRelationManagerInterface $plugin_manager, PrivateTempStoreFactory $temp_store_factory, EntityTypeManagerInterface $entity_type_manager, EntityFormBuilderInterface $entity_form_builder, RendererInterface $renderer) {
parent::__construct($temp_store_factory, $entity_type_manager, $entity_form_builder, $renderer);
$this->pluginManager = $plugin_manager;
}