public function BatchManager::isStepComplete in Workbench Moderation to Content Moderation 8
Determine if a particular step is complete.
Parameters
string $step: The name of the step, e.g. "step1".
Return value
bool True if complete and no action needs taken, else false.
1 call to BatchManager::isStepComplete()
- BatchManager::isStepSkipped in src/
BatchManager.php - Determine if a particular step can be processed.
File
- src/
BatchManager.php, line 67
Class
- BatchManager
- Manages communication between Batch API and the migration manager.
Namespace
Drupal\wbm2cmCode
public function isStepComplete($step) {
if ($this->batchStore
->has($step)) {
return 'complete' == $this->batchStore
->get($step);
}
return FALSE;
}