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