You are here

public function Job::getCountAccepted in Translation Management Tool 8

Sums up all accepted counts of this jobs job items.

Return value

int The sum of all accepted data items.

Overrides JobInterface::getCountAccepted

File

src/Entity/Job.php, line 843

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getCountAccepted() {
  return tmgmt_job_statistic($this, 'count_accepted');
}