public function JobSchedulerInterface::check in Job Scheduler 8.3
Same name and namespace in other branches
- 8.2 src/JobSchedulerInterface.php \Drupal\job_scheduler\JobSchedulerInterface::check()
Checks whether a job exists in the queue and update its parameters if so.
Parameters
array $job: The job to reschedule.
Return value
bool Execution result.
Throws
\Exception Exceptions thrown by code called by this method are passed on.
1 method overrides JobSchedulerInterface::check()
- JobScheduler::check in src/
JobScheduler.php - Checks whether a job exists in the queue and update its parameters if so.
File
- src/
JobSchedulerInterface.php, line 131
Class
- JobSchedulerInterface
- Provides an interface defining a job scheduler manager.
Namespace
Drupal\job_schedulerCode
public function check(array $job);