You are here

public function RulesConditionalElement::providesVariables in Conditional Rules 8

Same name and namespace in other branches
  1. 7 includes/rules_conditional.core.inc \RulesConditionalElement::providesVariables()
1 method overrides RulesConditionalElement::providesVariables()
RulesConditionalWhile::providesVariables in includes/rules_conditional.plugin.inc

File

includes/rules_conditional.core.inc, line 234
Conditional Rules framework implementation.

Class

RulesConditionalElement
Base conditional element plugin implementation.

Code

public function providesVariables() {
  $provides = parent::providesVariables();
  if (!$this
    ->isRoot()) {
    foreach ($this->children as $action) {
      $provides += $action
        ->providesVariables();
    }
  }
  return $provides;
}