diff --git a/core/modules/migrate/lib/Drupal/migrate/Plugin/migrate/destination/EntityContentBase.php b/core/modules/migrate/lib/Drupal/migrate/Plugin/migrate/destination/EntityContentBase.php index 70f2624..e4803a6 100644 --- a/core/modules/migrate/lib/Drupal/migrate/Plugin/migrate/destination/EntityContentBase.php +++ b/core/modules/migrate/lib/Drupal/migrate/Plugin/migrate/destination/EntityContentBase.php @@ -109,7 +109,6 @@ public function import(Row $row, array $old_destination_id_values = array()) { * An array containing the entity id. */ protected function save(ContentEntityInterface $entity, array $old_destination_id_values = array()) { - $entity->keepNewRevisionId(TRUE); $entity->save(); return array($entity->id()); } diff --git a/core/modules/migrate/lib/Drupal/migrate/Plugin/migrate/destination/EntityRevision.php b/core/modules/migrate/lib/Drupal/migrate/Plugin/migrate/destination/EntityRevision.php index 5476def..73b9a8a 100644 --- a/core/modules/migrate/lib/Drupal/migrate/Plugin/migrate/destination/EntityRevision.php +++ b/core/modules/migrate/lib/Drupal/migrate/Plugin/migrate/destination/EntityRevision.php @@ -46,7 +46,6 @@ protected function getEntity(Row $row, array $old_destination_id_values) { $entity = $this->storageController->load($entity_id); $entity->enforceIsNew(FALSE); $entity->setNewRevision(TRUE); - $entity->keepNewRevisionId(TRUE); } $this->updateEntity($entity, $row); $entity->isDefaultRevision(FALSE);