You are here

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

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

Constructs a new event access reset form.

Parameters

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

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

File

src/Form/EventAccessResetForm.php, line 57

Class

EventAccessResetForm
Form controller to reset event access to defaults.

Namespace

Drupal\rng\Form

Code

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