function RulesActionContainer::__construct

Overrides RulesContainerPlugin::__construct

1 call to RulesActionContainer::__construct()
Rule::__construct in includes/rules.plugins.inc
3 methods override RulesActionContainer::__construct()
Rule::__construct in includes/rules.plugins.inc
RulesEventSet::__construct in includes/rules.plugins.inc
RulesLoop::__construct in includes/rules.plugins.inc

File

includes/rules.core.inc, line 2523

Class

RulesActionContainer
Base class for all action containers.

Code

public function __construct($variables = array(), $providesVars = array()) {
    parent::__construct($variables);
    // The provided vars of a component are the names of variables, which should
    // be provided to the caller. See rule().
    if ($providesVars) {
        $this->info['provides'] = $providesVars;
    }
}