public function VariableInterface::evaluate in Business Rules 2.x
Same name and namespace in other branches
- 8 src/VariableInterface.php \Drupal\business_rules\VariableInterface::evaluate()
Evaluate the variable.
Parameters
\Drupal\business_rules\Events\BusinessRulesEvent $event: The dispatched event.
Return value
\Drupal\business_rules\VariableObject|\Drupal\business_rules\VariablesSet The evaluated variables.
Throws
\ReflectionException
1 method overrides VariableInterface::evaluate()
- Variable::evaluate in src/
Entity/ Variable.php - Evaluate the variable.
File
- src/
VariableInterface.php, line 24
Class
- VariableInterface
- Provides an interface for defining Variable entities.
Namespace
Drupal\business_rulesCode
public function evaluate(BusinessRulesEvent $event);