You are here

public function EventMeta::buildRegistrationQuery in RNG - Events and Registrations 8.2

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

Builds a entity query for registrations with conditions referencing this event.

Return value

\Drupal\Core\Entity\Query\QueryInterface An entity query.

Overrides EventMetaInterface::buildRegistrationQuery

1 call to EventMeta::buildRegistrationQuery()
EventMeta::getRegistrations in src/EventMeta.php
Get all registrations for this event.

File

src/EventMeta.php, line 305

Class

EventMeta
Meta event wrapper for RNG.

Namespace

Drupal\rng

Code

public function buildRegistrationQuery() {
  return $this
    ->buildQuery('registration');
}