public function RuleExpression::__clone in Rules 8.3
PHP magic __clone function.
File
- src/
Plugin/ RulesExpression/ RuleExpression.php, line 266
Class
- RuleExpression
- Provides a rule, executing actions when conditions are met.
Namespace
Drupal\rules\Plugin\RulesExpressionCode
public function __clone() {
$this->actions = clone $this->actions;
$this->actions
->setRoot($this
->getRoot());
$this->conditions = clone $this->conditions;
$this->conditions
->setRoot($this
->getRoot());
}