You are here

function i18nviews_handler_field_term_language::render in Internationalization Views 6.3

Same name and namespace in other branches
  1. 6.2 includes/i18nviews_handler_field_term_language.inc \i18nviews_handler_field_term_language::render()

File

includes/i18nviews_handler_field_term_language.inc, line 7

Class

i18nviews_handler_field_term_language
Field handler to provide simple renderer that shows term language.

Code

function render($values) {
  $languages = locale_language_list();
  $value = isset($languages[$values->{$this->field_alias}]) ? $languages[$values->{$this->field_alias}] : '';
  return $this
    ->render_link($value, $values);
}