public function JobSchedulerInterface::remove in Job Scheduler 8.2
Same name and namespace in other branches
- 8.3 src/JobSchedulerInterface.php \Drupal\job_scheduler\JobSchedulerInterface::remove()
Removes a job from the schedule, replace any existing job.
A job is uniquely identified by $job = array(type, id).
Parameters
array $job: A job to reserve.
Throws
\Exception Exceptions thrown by code called by this method are passed on.
1 method overrides JobSchedulerInterface::remove()
- JobScheduler::remove in src/
JobScheduler.php - Removes a job from the schedule, replace any existing job.
File
- src/
JobSchedulerInterface.php, line 64
Class
- JobSchedulerInterface
- Provides an interface defining a job scheduler manager.
Namespace
Drupal\job_schedulerCode
public function remove(array $job);