1 views_handler_argument_node_language.inc views_handler_argument_node_language::node_language($langcode)

File

core/modules/node/views/views_handler_argument_node_language.inc, line 31
Definition of views_handler_argument_node_language.

Class

views_handler_argument_node_language
Argument handler to accept a language.

Code

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