public function LauncherBase::initializeProgress in Ultimate Cron 8.2
Default implementation of initializeProgress().
Parameters
\Drupal\ultimate_cron\CronJobInterface $job: Job to initialize progress for.
Overrides LauncherInterface::initializeProgress
File
- src/
Launcher/ LauncherBase.php, line 97
Class
- LauncherBase
- Abstract class for Ultimate Cron launchers.
Namespace
Drupal\ultimate_cron\LauncherCode
public function initializeProgress(CronJobInterface $job) {
\Drupal::service('ultimate_cron.progress')
->setProgress($job
->id(), FALSE);
}