You are here

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

Uninstall the Workbench Moderation module.

Note: no need to check if the module is uninstalled before calling uninstall--the module installer will check for us.

File

src/MigrateManager.php, line 319

Class

MigrateManager
Manages migrating from WBM to CM.

Namespace

Drupal\wbm2cm

Code

public function uninstallWorkbenchModeration() {
  $this->moduleInstaller
    ->uninstall([
    'workbench_moderation',
  ], FALSE);
  $this->logger
    ->notice('Workbench Moderation module is uninstalled.');
}