You are here

public function JobSchedulerInterface::removeAll in Job Scheduler 8.3

Same name and namespace in other branches
  1. 8.2 src/JobSchedulerInterface.php \Drupal\job_scheduler\JobSchedulerInterface::removeAll()

Removes all jobs for a given type.

Parameters

string $name: The job name to remove.

string $type: The job type to remove.

Throws

\Exception Exceptions thrown by code called by this method are passed on.

1 method overrides JobSchedulerInterface::removeAll()
JobScheduler::removeAll in src/JobScheduler.php
Removes all jobs for a given type.

File

src/JobSchedulerInterface.php, line 79

Class

JobSchedulerInterface
Provides an interface defining a job scheduler manager.

Namespace

Drupal\job_scheduler

Code

public function removeAll($name, $type);