You are here

public function JobItem::getCountAccepted in Translation Management Tool 8

Count of all accepted data items.

Return value

int Accepted count.

Overrides JobItemInterface::getCountAccepted

File

src/Entity/JobItem.php, line 435

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getCountAccepted() {
  return $this
    ->get('count_accepted')->value;
}