You are here

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

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

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

Return value

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

Overrides EventMetaInterface::buildRuleQuery

1 call to EventMeta::buildRuleQuery()
EventMeta::getRules in src/EventMeta.php
Get all rules for this event.

File

src/EventMeta.php, line 343

Class

EventMeta
Meta event wrapper for RNG.

Namespace

Drupal\rng

Code

public function buildRuleQuery() {
  return $this
    ->buildQuery('rng_rule');
}