Same name and namespace in other branches
  1. 8.9.x core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::destroy()
  2. 9 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::destroy()

Removes any persistent storage used by this map.

For example, remove the map and message tables.

2 methods override MigrateIdMapInterface::destroy()
NullIdMap::destroy in core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
Removes any persistent storage used by this map.
Sql::destroy in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Removes any persistent storage used by this map.

File

core/modules/migrate/src/Plugin/MigrateIdMapInterface.php, line 286

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

public function destroy();