function ReactionRuleConfig::__clone

Magic clone method.

File

src/Entity/ReactionRuleConfig.php, line 308

Class

ReactionRuleConfig
Reaction rule configuration entity to persistently store configuration.

Namespace

Drupal\rules\Entity

Code

public function __clone() {
    // Remove the reference to the expression object in the clone so that the
    // expression object tree is created from scratch.
    unset($this->expressionObject);
}