You are here

wbm2cm.install in Workbench Moderation to Content Moderation 8

Same filename and directory in other branches
  1. 8.2 wbm2cm.install

Provides hooks to integration the module with Drupal.

File

wbm2cm.install
View 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

Namesort descending Description
wbm2cm_uninstall Implements hook_uninstall().