1 views_handler_argument_locale_language.inc views_handler_argument_locale_language::locale_language($langcode)

File

core/modules/locale/views/views_handler_argument_locale_language.inc, line 33
Definition of views_handler_argument_locale_language.

Class

views_handler_argument_locale_language
Argument handler to accept a language.

Code

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