You are here

public function JobQueue::getAllJobs in Translation Management Tool 8

Gets jobs in the queue without removing them from the queue.

Return value

\Drupal\tmgmt\JobInterface[] $jobs Jobs in the queue.

File

src/JobQueue.php, line 118

Class

JobQueue
Represents a job (checkout) queue.

Namespace

Drupal\tmgmt

Code

public function getAllJobs() {
  return Job::loadMultiple($this->queue);
}