You are here

public function LauncherBase::finishProgress in Ultimate Cron 8.2

Default implementation of finishProgress().

Parameters

\Drupal\ultimate_cron\CronJobInterface $job: Job to finish progress for.

Overrides LauncherInterface::finishProgress

File

src/Launcher/LauncherBase.php, line 104

Class

LauncherBase
Abstract class for Ultimate Cron launchers.

Namespace

Drupal\ultimate_cron\Launcher

Code

public function finishProgress(CronJobInterface $job) {
  \Drupal::service('ultimate_cron.progress')
    ->setProgress($job
    ->id(), FALSE);
}