You are here

public function EventAccessResetForm::__construct in RNG - Events and Registrations 3.x

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

Constructs a new event access reset form.

Parameters

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

File

src/Form/EventAccessResetForm.php, line 47

Class

EventAccessResetForm
Form controller to reset event access to defaults.

Namespace

Drupal\rng\Form

Code

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