You are here

public function JobQueue::removeJobs in Translation Management Tool 8

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_key($this->queue, $job_ids);
}