You are here

function tmgmt_handler_field_tmgmt_wordcount::render in Translation Management Tool 7

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

views/handlers/tmgmt_handler_field_tmgmt_wordcount.inc, line 30

Class

tmgmt_handler_field_tmgmt_wordcount
Field handler which shows the word count.

Code

function render($values) {
  $object = $this
    ->get_value($values);
  return $object
    ->getWordCount();
}