You are here

public function BatchManager::step3 in Workbench Moderation to Content Moderation 8

WBM uninstalled.

File

src/BatchManager.php, line 164

Class

BatchManager
Manages communication between Batch API and the migration manager.

Namespace

Drupal\wbm2cm

Code

public function step3(&$context) {
  if ($this
    ->isStepSkipped('step3')) {
    return;
  }
  $this->manager
    ->uninstallWorkbenchModeration();
  $this
    ->setStepComplete('step3');
  $context['message'] = 'Uninstalling Workbench Moderation.';
}