You are here

public function RulesComponentConfig::__clone in Rules 8.3

Magic clone method.

File

src/Entity/RulesComponentConfig.php, line 275

Class

RulesComponentConfig
Rules component 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->expression);
}