You are here

public function EventMeta::buildGroupQuery in RNG - Events and Registrations 3.x

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

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

Return value

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

Overrides EventMetaInterface::buildGroupQuery

1 call to EventMeta::buildGroupQuery()
EventMeta::getGroups in src/EventMeta.php
Get all groups for this event.

File

src/EventMeta.php, line 446

Class

EventMeta
Meta event wrapper for RNG.

Namespace

Drupal\rng

Code

public function buildGroupQuery() {
  return $this
    ->buildQuery('registration_group');
}