public function EventInfoController::__construct in Devel 8
Same name and namespace in other branches
- 8.3 src/Controller/EventInfoController.php \Drupal\devel\Controller\EventInfoController::__construct()
- 8.2 src/Controller/EventInfoController.php \Drupal\devel\Controller\EventInfoController::__construct()
- 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\ControllerCode
public function __construct(EventDispatcherInterface $event_dispatcher) {
$this->eventDispatcher = $event_dispatcher;
}