diff --git a/core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php b/core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php index 430869c878..ec6be781fc 100644 --- a/core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php +++ b/core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php @@ -265,7 +265,7 @@ public function getIds() { $ids[$id_key] = $this->getDefinitionFromEntity($id_key); if ($this->entityType->isRevisionable()) { $revision_key = $this->entityType->getKey('revision'); - $ids[$revision_key ] = $this->getDefinitionFromEntity($revision_key); + $ids[$revision_key] = $this->getDefinitionFromEntity($revision_key); } if ($this->entityType->isTranslatable()) { $langcode_key = $this->entityType->getKey('langcode'); diff --git a/core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php b/core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php index 88289997e0..b99f40393d 100644 --- a/core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php +++ b/core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php @@ -50,6 +50,8 @@ protected function setUp() { 'language', 'd7_language_content_settings', 'd7_taxonomy_vocabulary', + 'd7_node', + 'd7_node_translation', ]); }