function ReactionRuleConfig::createDuplicate

Overrides ConfigEntityBase::createDuplicate

File

src/Entity/ReactionRuleConfig.php, line 194

Class

ReactionRuleConfig
Reaction rule configuration entity to persistently store configuration.

Namespace

Drupal\rules\Entity

Code

public function createDuplicate() {
    $duplicate = parent::createDuplicate();
    unset($duplicate->expressionObject);
    return $duplicate;
}