You are here

public function JobItem::getCountPending in Translation Management Tool 8

Count of all pending data items.

Return value

int Pending counts.

Overrides JobItemInterface::getCountPending

File

src/Entity/JobItem.php, line 421

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getCountPending() {
  return $this
    ->get('count_pending')->value;
}