public function JobSchedulerInterface::removeAll in Job Scheduler 8.2
Same name and namespace in other branches
- 8.3 src/JobSchedulerInterface.php \Drupal\job_scheduler\JobSchedulerInterface::removeAll()
Removes all jobs for a given type.
Parameters
string $name: Name of the schedule.
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 77
Class
- JobSchedulerInterface
- Provides an interface defining a job scheduler manager.
Namespace
Drupal\job_schedulerCode
public function removeAll($name, $type);