You are here

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

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

Constructs a new RegistrationListBuilder object.

Parameters

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

Overrides EntityListBuilder::__construct

File

src/Lists/GroupListBuilder.php, line 40

Class

GroupListBuilder
Builds a list of registration groups.

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;
}