You are here

public function CronJob::clearSignal in Ultimate Cron 8.2

Clear a signal.

Overrides CronJobInterface::clearSignal

See also

UltimateCronSignal::clear()

File

src/Entity/CronJob.php, line 243

Class

CronJob
Class for handling cron jobs.

Namespace

Drupal\ultimate_cron\Entity

Code

public function clearSignal($signal) {
  unset(self::$signals[$this
    ->id()][$signal]);
  $signal = \Drupal::service('ultimate_cron.signal');
  $signal
    ->clear($this
    ->id(), $signal);
}