You are here

public function MigrateBatchController::__construct in Workbench Moderation to Content Moderation 8

Instantiate the migrate batch controller.

Parameters

\Drupal\wbm2cm\BatchManager $batch_manager: The batch manager for the migration.

File

src/Controller/MigrateBatchController.php, line 26

Class

MigrateBatchController
Batch process the WBM to CM migration.

Namespace

Drupal\wbm2cm\Controller

Code

public function __construct(BatchManager $batch_manager) {
  $this->batchManager = $batch_manager;
}