You are here

public function GroupContentController::__construct in Group 2.0.x

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

Constructs a new GroupContentController.

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.

1 call to GroupContentController::__construct()
GroupNodeController::__construct in modules/gnode/src/Controller/GroupNodeController.php
Constructs a new GroupNodeController.
1 method overrides GroupContentController::__construct()
GroupNodeController::__construct in modules/gnode/src/Controller/GroupNodeController.php
Constructs a new GroupNodeController.

File

src/Entity/Controller/GroupContentController.php, line 64

Class

GroupContentController
Returns responses for GroupContent 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;
}