You are here

public function RegistrationStorage::setDispatcher in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 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;
}