diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php index 868fdff..5b29e87 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php @@ -130,6 +130,10 @@ public function getOriginalId() { * {@inheritdoc} */ public function setOriginalId($id) { + // Do not call the parent method since that would mark this entity as no + // longer new. Unlike content entities new configuration entities have an + // ID. + // @see https://www.drupal.org/node/2405165 $this->originalId = $id; return $this; }