function Rule::providesVariables
Overridden to expose the variables of all actions for embedded rules.
Overrides RulesActionContainer::providesVariables
File
-
includes/
rules.plugins.inc, line 360
Class
- Rule
- An actual rule.
Code
public function providesVariables() {
$provides = parent::providesVariables();
if (!$this->isRoot()) {
foreach ($this->actions() as $action) {
$provides += $action->providesVariables();
}
}
return $provides;
}