function RulesContainerPlugin::componentVariables
Returns the specified variables, in case the plugin is used as component.
1 call to RulesContainerPlugin::componentVariables()
- RulesActionContainer::providesVariables in includes/
rules.core.inc - Returns info about all variables provided for later evaluated elements.
File
-
includes/
rules.core.inc, line 2223
Class
- RulesContainerPlugin
- Base class for ContainerPlugins like Rules, Logical Operations or Loops.
Code
public function &componentVariables() {
if ($this->isRoot()) {
$this->info += array(
'variables' => array(),
);
return $this->info['variables'];
}
// We have to return a reference in any case.
$return = NULL;
return $return;
}