You are here

public function RuleConditionSet::__clone in Conditional Rules 7

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

By default we do a deep clone.

Overrides RulesContainerPlugin::__clone

File

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

Class

RuleConditionSet
Rule as condition set.

Code

public function __clone() {
  parent::__clone();
  $this->actions = clone $this->actions;
  $this->actions->parent = $this;
}