You are here

function tmgmt_local_task_handler_field_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

translators/tmgmt_local/views/handlers/tmgmt_local_task_handler_field_wordcount.inc, line 30

Class

tmgmt_local_task_handler_field_wordcount
Field handler which shows the word count.

Code

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