You are here

public function ElementInfoController::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 src/Controller/ElementInfoController.php \Drupal\devel\Controller\ElementInfoController::__construct()
  2. 8.2 src/Controller/ElementInfoController.php \Drupal\devel\Controller\ElementInfoController::__construct()
  3. 4.x src/Controller/ElementInfoController.php \Drupal\devel\Controller\ElementInfoController::__construct()

EventInfoController constructor.

Parameters

\Drupal\Core\Render\ElementInfoManagerInterface $element_info: Element info manager service.

\Drupal\devel\DevelDumperManagerInterface $dumper: The dumper service.

File

src/Controller/ElementInfoController.php, line 40

Class

ElementInfoController
Provides route responses for the element info page.

Namespace

Drupal\devel\Controller

Code

public function __construct(ElementInfoManagerInterface $element_info, DevelDumperManagerInterface $dumper) {
  $this->elementInfo = $element_info;
  $this->dumper = $dumper;
}