You are here

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

Constructs a registration form.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

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

Overrides ContentEntityForm::__construct

File

src/Form/RegistrationForm.php, line 38

Class

RegistrationForm
Form controller for registrations.

Namespace

Drupal\rng\Form

Code

public function __construct(EntityManagerInterface $entity_manager, EventManagerInterface $event_manager) {
  parent::__construct($entity_manager);
  $this->eventManager = $event_manager;
}