function EventMeta::buildRuleQuery in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/EventMeta.php \Drupal\rng\EventMeta::buildRuleQuery()
- 3.x 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 293
Class
- EventMeta
- Meta event wrapper for RNG.
Namespace
Drupal\rngCode
function buildRuleQuery() {
return $this
->buildQuery('rng_rule');
}