You are here

public function ReferenceViewController::__construct in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Controller/ReferenceViewController.php \Drupal\bibcite_entity\Controller\ReferenceViewController::__construct()

Creates an EntityViewController object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

Overrides EntityViewController::__construct

File

modules/bibcite_entity/src/Controller/ReferenceViewController.php, line 29

Class

ReferenceViewController
Class ReferenceViewController.

Namespace

Drupal\bibcite_entity\Controller

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, RendererInterface $renderer, ImmutableConfig $config) {
  parent::__construct($entity_type_manager, $renderer);
  $this->config = $config;
}