You are here

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

Workflows installed.

File

src/BatchManager.php, line 176

Class

BatchManager
Manages communication between Batch API and the migration manager.

Namespace

Drupal\wbm2cm

Code

public function step4(&$context) {
  if ($this
    ->isStepSkipped('step4')) {
    return;
  }
  $this->manager
    ->installWorkflows();
  $this
    ->setStepComplete('step4');
  $context['message'] = 'Installing Workflows module.';
}