You are here

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

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

Constructs a new RegistrationListBuilder object.

Parameters

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

Overrides EntityListBuilder::__construct

File

src/Lists/RegistrationListBuilder.php, line 46

Class

RegistrationListBuilder
Builds a list of registrations.

Namespace

Drupal\rng\Lists

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, EventManagerInterface $event_manager) {
  parent::__construct($entity_type, $storage);
  $this->eventManager = $event_manager;
}