public function RulesContainerPlugin::__construct in Rules 7.2
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 2194 - Rules base classes and interfaces needed for any rule evaluation.
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;
}
}