You are here

public function LocalTaskItem::getCountTranslated in Translation Management Tool 8

Gets count of all translated data items.

Return value

int Translated count

Overrides LocalTaskItemInterface::getCountTranslated

File

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

Class

LocalTaskItem
Entity class for the local task item entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function getCountTranslated() {
  return $this
    ->get('count_translated')->value;
}