protected property JobSchedulerQueue::$scheduler in Job Scheduler 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/QueueWorker/JobSchedulerQueue.php \Drupal\job_scheduler\Plugin\QueueWorker\JobSchedulerQueue::scheduler
The name of this scheduler.
Type: \Drupal\job_scheduler\JobScheduler
File
- src/
Plugin/ QueueWorker/ JobSchedulerQueue.php, line 26
Class
- JobSchedulerQueue
- Providing our own worker has the advantage that we can reschedule the job or take care of cleanup. Note that as we run the execute() action, the job won't be queued again this time.
Namespace
Drupal\job_scheduler\Plugin\QueueWorkerCode
protected $scheduler;