You are here

public function views_handler_field_taxonomy::render in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 modules/taxonomy/views_handler_field_taxonomy.inc \views_handler_field_taxonomy::render()
  2. 6.2 modules/taxonomy/views_handler_field_taxonomy.inc \views_handler_field_taxonomy::render()

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

modules/taxonomy/views_handler_field_taxonomy.inc, line 97
Definition of views_handler_field_taxonomy.

Class

views_handler_field_taxonomy
Field handler to provide simple renderer that allows linking to a taxonomy term.

Code

public function render($values) {
  $value = $this
    ->get_value($values);
  return $this
    ->render_link($this
    ->sanitize_value($value), $values);
}