public function MultiversionMigration::cleanupMigration in Multiversion 8
Removes the map and message tables for a migration.
Parameters
int $id: The migration ID.
Overrides MultiversionMigrationInterface::cleanupMigration
File
- src/
MultiversionMigration.php, line 196
Class
Namespace
Drupal\multiversionCode
public function cleanupMigration($id) {
\Drupal::service('plugin.manager.migration')
->createStubMigration([
'id' => $id,
])
->getIdMap()
->destroy();
}