You are here

public function BusinessRulesVariablePluginInterface::evaluate in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/BusinessRulesVariablePluginInterface.php \Drupal\business_rules\Plugin\BusinessRulesVariablePluginInterface::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.

1 method overrides BusinessRulesVariablePluginInterface::evaluate()
BusinessRulesVariablePlugin::evaluate in src/Plugin/BusinessRulesVariablePlugin.php
Evaluate the variable.

File

src/Plugin/BusinessRulesVariablePluginInterface.php, line 24

Class

BusinessRulesVariablePluginInterface
Defines an interface for Business rules variable plugins.

Namespace

Drupal\business_rules\Plugin

Code

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