You are here

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

CM installed.

File

src/BatchManager.php, line 188

Class

BatchManager
Manages communication between Batch API and the migration manager.

Namespace

Drupal\wbm2cm

Code

public function step5(&$context) {
  if ($this
    ->isStepSkipped('step5')) {
    return;
  }
  $this->manager
    ->installContentModeration();
  $this
    ->setStepComplete('step5');
  $context['message'] = 'Installing Content Moderation module.';
}