You are here

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

Install the Content Moderation 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 341

Class

MigrateManager
Manages migrating from WBM to CM.

Namespace

Drupal\wbm2cm

Code

public function installContentModeration() {
  $this->moduleInstaller
    ->install([
    'content_moderation',
  ]);
  $this->logger
    ->notice('Content Moderation module is installed.');
}