function RulesComponentConfig::createDuplicate
Overrides ConfigEntityBase::createDuplicate
File
-
src/
Entity/ RulesComponentConfig.php, line 218
Class
- RulesComponentConfig
- Rules component configuration entity to persistently store configuration.
Namespace
Drupal\rules\EntityCode
public function createDuplicate() {
$duplicate = parent::createDuplicate();
unset($duplicate->componentObject);
return $duplicate;
}