public function BatchManager::step2 in Workbench Moderation to Content Moderation 8
Entity state maps are stored in key value.
File
- src/
BatchManager.php, line 153
Class
- BatchManager
- Manages communication between Batch API and the migration manager.
Namespace
Drupal\wbm2cmCode
public function step2(&$context) {
if ($this
->isStepSkipped('step2')) {
return;
}
$this->manager
->saveWorkbenchModerationSateMap();
$context['message'] = 'Saving Workbench Moderation entity states to key value storage.';
}