public function Job::getCountPending

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 835

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

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