You are here

public function JobSchedulerInterface::remove in Job Scheduler 8.3

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

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 66

Class

JobSchedulerInterface
Provides an interface defining a job scheduler manager.

Namespace

Drupal\job_scheduler

Code

public function remove(array $job);