You are here

protected property JobSchedulerQueue::$scheduler in Job Scheduler 8.3

Same name and namespace in other branches
  1. 8.2 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 27

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\QueueWorker

Code

protected $scheduler;