public function SignalCache::set in Ultimate Cron 8.2
Set signal.
Parameters
string $job_id: The name of the job.
string $signal: The name of the signal.
Return value
boolean TRUE if the signal was set.
Overrides SignalInterface::set
File
- src/
Signal/ SignalCache.php, line 81
Class
Namespace
Drupal\ultimate_cron\SignalCode
public function set($job_id, $signal) {
$this->cacheBackend
->set("signal-{$job_id}-{$signal}", TRUE);
}