'd6_user_profile_field_instance_translation',
'language',
];
/** @var \Drupal\migrate\Plugin\MigrationPluginManager $migration_plugin_manager */
$migration_plugin_manager = \Drupal::
service('plugin.manager.migration'
);
$migrations =
[];
foreach ($migration_ids as $migration_id) { $migrations[$migration_id] =
$migration_plugin_manager->
createInstance($migration_id,
[]);
} $migrations =
$migration_plugin_manager->
buildDependencyMigration($migrations,
[]);
// Execute the import.
$ids =
array_keys($migrations);
$this->
executeMigrations($ids);
// Execute the rollback.
$ids =
array_reverse($ids);
try { foreach ($ids as $id) { // Language rollback tries to rollback the default language so skip it.
if ($id == 'language'
) {