function MigrateIdMapInterface::destroy

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::destroy()
  2. 8.9.x core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::destroy()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.