wbm2cm.install in Workbench Moderation to Content Moderation 8
Same filename and directory in other branches
Provides hooks to integration the module with Drupal.
File
wbm2cm.installView source
<?php
/**
* @file
* Provides hooks to integration the module with Drupal.
*/
/**
* Implements hook_uninstall().
*/
function wbm2cm_uninstall() {
$migrate_manager = \Drupal::service('wbm2cm.migrate_manager');
$batch_manager = \Drupal::service('wbm2cm.batch_manager');
// Clear out key value storage.
$migrate_manager
->purgeAllKeyValueStores();
$batch_manager
->purgeAllKeyValueStores();
}
Functions
Name | Description |
---|---|
wbm2cm_uninstall | Implements hook_uninstall(). |