You are here

public function Wbm2cmCommands::__construct in Workbench Moderation to Content Moderation 8.2

Wbm2cmCommands constructor.

Parameters

\Drupal\wbm2cm\MigrationController $controller: The migration controller service.

\Drupal\Core\Extension\ModuleInstallerInterface $module_installer: The module installer service.

File

src/Commands/Wbm2cmCommands.php, line 33

Class

Wbm2cmCommands

Namespace

Drupal\wbm2cm\Commands

Code

public function __construct(MigrationController $controller, ModuleInstallerInterface $module_installer) {
  $this->controller = $controller;
  $this->moduleInstaller = $module_installer;
}