You are here

public function BusinessRulesItemPluginInterface::processVariables in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Plugin/BusinessRulesItemPluginInterface.php \Drupal\business_rules\Plugin\BusinessRulesItemPluginInterface::processVariables()

Process the item replacing the variables by it's values.

Parameters

mixed $content: The item to be replaced by the variable value.

\Drupal\business_rules\VariablesSet $event_variables: Array of Variables provided by the event.

Return value

mixed The processed content, replacing the variables tokens for it's values.

2 methods override BusinessRulesItemPluginInterface::processVariables()
BusinessRulesConditionPluginInterface::processVariables in src/Plugin/BusinessRulesConditionPluginInterface.php
Process the item the variables for it's values.
BusinessRulesItemPluginBase::processVariables in src/Plugin/BusinessRulesItemPluginBase.php
Process the item replacing the variables by it's values.

File

src/Plugin/BusinessRulesItemPluginInterface.php, line 153

Class

BusinessRulesItemPluginInterface
Interface BusinessRulesItemInterface.

Namespace

Drupal\business_rules\Plugin

Code

public function processVariables($content, VariablesSet $event_variables);