function language_from_interface

Identifies the language from the current interface language.

Return value

The current interface language code.

2 string references to 'language_from_interface'
language_language_negotiation_info in drupal/core/modules/language/language.module
Implements hook_language_negotiation_info().
locale_update_8007 in drupal/core/modules/locale/locale.install
Convert language_negotiation_* variables to use the new callbacks.

File

drupal/core/modules/language/language.negotiation.inc, line 59
Language negotiation functions.

Code

function language_from_interface() {
  return language(LANGUAGE_TYPE_INTERFACE)->langcode;
}