diff --git a/core/modules/config_translation/src/Plugin/migrate/source/d6/I18nProfileField.php b/core/modules/config_translation/src/Plugin/migrate/source/d6/I18nProfileField.php deleted file mode 100644 index 71792318bf8..00000000000 --- a/core/modules/config_translation/src/Plugin/migrate/source/d6/I18nProfileField.php +++ /dev/null @@ -1,21 +0,0 @@ - [ - [ - 'fid' => 42, - 'title' => 'I love migrations', - 'name' => 'profile_love_migrations', - ], - ], - 'i18n_strings' => [ - [ - 'lid' => 10, - 'objectid' => 'profile_love_migrations', - 'type' => 'field', - 'property' => 'title', - ], - [ - 'lid' => 11, - 'objectid' => 'profile_love_migrations', - 'type' => 'field', - 'property' => 'explanation', - ], - ], - 'locales_target' => [ - [ - 'lid' => 10, - 'translation' => "J'aime les migrations.", - 'language' => 'fr', - ], - [ - 'lid' => 11, - 'translation' => 'Si vous cochez cette case, vous aimez les migrations.', - 'language' => 'fr', - ], - ], - ]; - $test[0]['expected_results'] = [ - [ - 'property' => 'title', - 'translation' => "J'aime les migrations.", - 'language' => 'fr', - 'fid' => '42', - 'name' => 'profile_love_migrations', - ], - [ - 'property' => 'explanation', - 'translation' => 'Si vous cochez cette case, vous aimez les migrations.', - 'language' => 'fr', - 'fid' => '42', - 'name' => 'profile_love_migrations', - ], - ]; - return $test; - } - -} diff --git a/core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php b/core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php index 5ae0904cd11..ffdd7784397 100644 --- a/core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php +++ b/core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php @@ -40,7 +40,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; * * @code * source: - * plugin: d6_i18n_profile_field + * plugin: d6_profile_field_translation * constants: * entity_type: user * bundle: user