1 views_handler_field_term_language.inc | views_handler_field_term_language::render($values) |
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides views_handler_field_taxonomy::render
File
- core/
modules/ locale/ views/ views_handler_field_term_language.inc, line 29 - Definition of views_handler_field_term_language.
Class
- views_handler_field_term_language
- Field handler to translate a language into its readable form.
Code
function render($values) {
$languages = views_language_list(empty($this->options['native_language']) ? 'name' : 'native');
$value = $this->get_value($values);
$value = isset($languages[$value]) ? $languages[$value] : '';
return $this->render_link($value, $values);
}