public function CronJob::peekSignal in Ultimate Cron 8.2
Get a signal without affecting it.
Overrides CronJobInterface::peekSignal
See also
UltimateCronSignal::peek()
File
- src/
Entity/ CronJob.php, line 201
Class
- CronJob
- Class for handling cron jobs.
Namespace
Drupal\ultimate_cron\EntityCode
public function peekSignal($signal) {
if (isset(self::$signals[$this
->id()][$signal])) {
return TRUE;
}
$signal = \Drupal::service('ultimate_cron.signal');
return $signal
->peek($this
->id(), $signal);
}