You are here

public function RegistrationStorage::setDispatcher in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 3.x src/RegistrationStorage.php \Drupal\rng\RegistrationStorage::setDispatcher()

Set the event dispatcher.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher:

File

src/RegistrationStorage.php, line 38

Class

RegistrationStorage
Defines the registration storage.

Namespace

Drupal\rng

Code

public function setDispatcher(EventDispatcherInterface $event_dispatcher) {
  $this->eventDispatcher = $event_dispatcher;
}