You are here

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

Purge all key value stores used used by the migrate manager.

Note: this should only be used during the module's uninstall.

File

src/MigrateManager.php, line 515

Class

MigrateManager
Manages migrating from WBM to CM.

Namespace

Drupal\wbm2cm

Code

public function purgeAllKeyValueStores() {
  $this->migrateStore
    ->deleteAll();
  $this->stateMapStore
    ->deleteAll();
}