You are here

public function RuleInterface::evaluateConditions in RNG - Events and Registrations 8

Evaluates all conditions on the rule.

Parameters

array $context_values: Context to pass to conditions. Keyed by context name.

Return value

bool Whether all conditions evaluate true.

Throws

\Drupal\Component\Plugin\Exception\ContextException If a context value is missing for any condition.

1 method overrides RuleInterface::evaluateConditions()
Rule::evaluateConditions in src/Entity/Rule.php
Evaluates all conditions on the rule.

File

src/RuleInterface.php, line 88

Class

RuleInterface
Provides an interface for event rule entities.

Namespace

Drupal\rng

Code

public function evaluateConditions($context_values = []);