You are here

public function GroupController::__construct in Group 8

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

Constructs a new GroupController.

Parameters

\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.

File

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

Class

GroupController
Returns responses for Group routes.

Namespace

Drupal\group\Entity\Controller

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, EntityTypeManagerInterface $entity_type_manager, EntityFormBuilderInterface $entity_form_builder, RendererInterface $renderer) {
  $this->privateTempStoreFactory = $temp_store_factory;
  $this->entityTypeManager = $entity_type_manager;
  $this->entityFormBuilder = $entity_form_builder;
  $this->renderer = $renderer;
}