public function EventMetaInterface::buildQuery in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::buildQuery()
- 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 169
Class
- EventMetaInterface
- Interface for EventMeta.
Namespace
Drupal\rngCode
public function buildQuery($entity_type);