public function LocalTaskItem::getCountCompleted

Gets count of all completed data items.

Return value

int Translated count

Overrides LocalTaskItemInterface::getCountCompleted

File

translators/tmgmt_local/src/Entity/LocalTaskItem.php, line 238

Class

LocalTaskItem
Entity class for the local task item entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function getCountCompleted() {
  return $this
    ->get('count_completed')->value;
}