function Rule::__clone

Overrides RulesContainerPlugin::__clone

File

includes/rules.plugins.inc, line 334

Class

Rule
An actual rule.

Code

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