You are here

public function RegistrationController::__construct in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Controller/RegistrationController.php \Drupal\rng\Controller\RegistrationController::__construct()
  2. 3.x src/Controller/RegistrationController.php \Drupal\rng\Controller\RegistrationController::__construct()

Constructs a new registration controller.

Parameters

\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.

File

src/Controller/RegistrationController.php, line 32

Class

RegistrationController
Controller for registration entities.

Namespace

Drupal\rng\Controller

Code

public function __construct(EventManagerInterface $event_manager) {
  $this->eventManager = $event_manager;
}