public function RulesConditionalElement::providesVariables in Conditional Rules 8
Same name and namespace in other branches
- 7 includes/rules_conditional.core.inc \RulesConditionalElement::providesVariables()
1 method overrides RulesConditionalElement::providesVariables()
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;
}