1 views_handler_argument_term_language.inc views_handler_argument_term_language::term_language($langcode)

File

core/modules/taxonomy/views/views_handler_argument_term_language.inc, line 32
Definition of views_handler_argument_term_language.

Class

views_handler_argument_term_language
Argument handler to accept a language.

Code

function term_language($langcode) {
  $languages = views_language_list();
  return isset($languages[$langcode]) ? $languages[$langcode] : t('Unknown language');
}