You are here

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

Install the Workflows module.

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

File

src/MigrateManager.php, line 330

Class

MigrateManager
Manages migrating from WBM to CM.

Namespace

Drupal\wbm2cm

Code

public function installWorkflows() {
  $this->moduleInstaller
    ->install([
    'workflows',
  ]);
  $this->logger
    ->notice('Workflows module is installed.');
}