You are here

public function JobItem::getWordCount in Translation Management Tool 8

Word count of all data items.

Return value

int Word count

Overrides JobItemInterface::getWordCount

File

src/Entity/JobItem.php, line 449

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getWordCount() {
  return (int) $this
    ->get('word_count')->value;
}