You are here

public function EventMetaInterface::getRegistrants in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::getRegistrants()
  2. 3.x src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::getRegistrants()

Get all registrants for this event.

Parameters

string $entity_type_id: The registrant entity type, or NULL to get all.

Return value

\Drupal\rng\Entity\RegistrantInterface[] An array of registrant entities.

1 method overrides EventMetaInterface::getRegistrants()
EventMeta::getRegistrants in src/EventMeta.php
Get all registrants for this event.

File

src/EventMetaInterface.php, line 300

Class

EventMetaInterface
Interface for EventMeta.

Namespace

Drupal\rng

Code

public function getRegistrants($entity_type_id = NULL);