You are here

abstract public function BusinessRulesVariablePlugin::evaluate in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/BusinessRulesVariablePlugin.php \Drupal\business_rules\Plugin\BusinessRulesVariablePlugin::evaluate()

Evaluate the variable.

Parameters

\Drupal\business_rules\Entity\Variable $variable: The variable to be evaluated.

\Drupal\business_rules\Events\BusinessRulesEvent $event: The dispatched event.

Return value

\Drupal\business_rules\VariableObject|\Drupal\business_rules\VariablesSet The evaluated variables.

Overrides BusinessRulesVariablePluginInterface::evaluate

6 methods override BusinessRulesVariablePlugin::evaluate()
CustomValueVariable::evaluate in src/Plugin/BusinessRulesVariable/CustomValueVariable.php
Evaluate the variable.
EntityEmptyVariable::evaluate in src/Plugin/BusinessRulesVariable/EntityEmptyVariable.php
Evaluate the variable.
EntityFieldVariable::evaluate in src/Plugin/BusinessRulesVariable/EntityFieldVariable.php
Evaluate the variable.
UrlVariable::evaluate in src/Plugin/BusinessRulesVariable/UrlVariable.php
Evaluate the variable.
UserVariable::evaluate in src/Plugin/BusinessRulesVariable/UserVariable.php
Evaluate the variable.

... See full list

File

src/Plugin/BusinessRulesVariablePlugin.php, line 16

Class

BusinessRulesVariablePlugin
Base class for Business rules variable plugins.

Namespace

Drupal\business_rules\Plugin

Code

public abstract function evaluate(Variable $variable, BusinessRulesEvent $event);