public function JobQueue::removeJobs

Remove job jobs from the queue without marking them as processed.

Parameters

array $job_ids: Job jobs to be removed.

File

src/JobQueue.php, line 95

Class

JobQueue
Represents a job (checkout) queue.

Namespace

Drupal\tmgmt

Code

public function removeJobs(array $job_ids) {
  $this->queue = array_diff($this->queue, $job_ids);
}