public function JobItem::getCountAccepted

Count of all accepted data items.

Return value

int Accepted count.

Overrides JobItemInterface::getCountAccepted

File

src/Entity/JobItem.php, line 443

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

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