You are here

public function Job::getCountPending in Translation Management Tool 8

Sums up all pending counts of this jobs job items.

Return value

int The sum of all pending counts

Overrides JobInterface::getCountPending

File

src/Entity/Job.php, line 829

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getCountPending() {
  return tmgmt_job_statistic($this, 'count_pending');
}