You are here

public function EventInfoController::__construct in Devel 8

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

EventInfoController constructor.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: Event dispatcher service.

File

src/Controller/EventInfoController.php, line 27

Class

EventInfoController
Provides route responses for the event info page.

Namespace

Drupal\devel\Controller

Code

public function __construct(EventDispatcherInterface $event_dispatcher) {
  $this->eventDispatcher = $event_dispatcher;
}