You are here

public function LocalTask::getWordCount in Translation Management Tool 8

Sums up all word counts of this task job items.

Return value

int The sum of all accepted counts

Overrides LocalTaskInterface::getWordCount

File

translators/tmgmt_local/src/Entity/LocalTask.php, line 342

Class

LocalTask
Entity class for the local task entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function getWordCount() {
  return tmgmt_local_task_statistic($this, 'word_count');
}