You are here

public function MigrateManager::cleanupKeyValue in Workbench Moderation to Content Moderation 8

Remove all temporary data from key value used for the migration.

The following are not cleaned up by this:

  • Any state used to manage progress of the migration, e.g. BatchManager.
  • The state map keys, which should be cleaned up during processing.

File

src/MigrateManager.php, line 502

Class

MigrateManager
Manages migrating from WBM to CM.

Namespace

Drupal\wbm2cm

Code

public function cleanupKeyValue() {
  $this->migrateStore
    ->deleteMultiple([
    'states',
    'transitions',
    'enabled_bundles',
  ]);
}