You are here

public function RuleConditionSet::__construct in Conditional Rules 8

Same name and namespace in other branches
  1. 7 includes/rules_conditional.plugin.inc \RuleConditionSet::__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;
  }
}