You are here

public function RuleConditionSet::__construct in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.plugin.inc \RuleConditionSet::__construct()

Overrides RulesContainerPlugin::__construct

File

includes/rules_conditional.plugin.inc, line 469
Rules plugin implementation.

Class

RuleConditionSet
Rule as condition set.

Code

public function __construct($variables = array()) {
  parent::__construct($variables);
  if (!isset($this->actions)) {
    $this->actions = rules_action_set();
    $this->actions->parent = $this;
  }
}