You are here

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

Set a particular step to complete.

Parameters

string $step: The name of the step, e.g. "step1".

7 calls to BatchManager::setStepComplete()
BatchManager::step1 in src/BatchManager.php
States and transitions are stored in key value (i.e. the Workflow entity is created).
BatchManager::step3 in src/BatchManager.php
WBM uninstalled.
BatchManager::step4 in src/BatchManager.php
Workflows installed.
BatchManager::step5 in src/BatchManager.php
CM installed.
BatchManager::step6 in src/BatchManager.php
States and transitions are migrated (i.e. the Workflow entity is created).

... See full list

File

src/BatchManager.php, line 80

Class

BatchManager
Manages communication between Batch API and the migration manager.

Namespace

Drupal\wbm2cm

Code

public function setStepComplete($step) {
  $this->batchStore
    ->set($step, 'complete');
}