You are here

function EventMetaInterface::buildQuery in RNG - Events and Registrations 8

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

Builds a entity query with conditions referencing this event.

Assumes there is a dynamic_entity_reference field on the entity_type named 'event'.

Parameters

$entity_type: An entity type with an 'event' DER field attached.

Return value

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

1 method overrides EventMetaInterface::buildQuery()
EventMeta::buildQuery in src/EventMeta.php
Builds a entity query with conditions referencing this event.

File

src/EventMetaInterface.php, line 176

Class

EventMetaInterface
Interface for EventMeta.

Namespace

Drupal\rng

Code

function buildQuery($entity_type);