You are here

public function SubgroupController::__construct in Subgroup (Graph) 1.0.x

Constructs a new GroupContentController.

Parameters

\Drupal\group\Plugin\GroupContentEnablerManagerInterface $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

src/Controller/SubgroupController.php, line 39

Class

SubgroupController
Returns responses for 'subgroup' GroupContent routes.

Namespace

Drupal\ggroup\Controller

Code

public function __construct(GroupContentEnablerManagerInterface $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;
}