function RulesContainerPlugin::__construct

Overrides RulesExtendable::__construct

1 call to RulesContainerPlugin::__construct()
RulesActionContainer::__construct in includes/rules.core.inc
1 method overrides RulesContainerPlugin::__construct()
RulesActionContainer::__construct in includes/rules.core.inc

File

includes/rules.core.inc, line 2213

Class

RulesContainerPlugin
Base class for ContainerPlugins like Rules, Logical Operations or Loops.

Code

public function __construct($variables = array()) {
    $this->setUp();
    if (!empty($variables) && $this->isRoot()) {
        $this->info['variables'] = $variables;
    }
}