You are here

function language_from_default in Drupal 7

Returns the default language negotiation provider.

Return value

The default language code.

Related topics

1 string reference to 'language_from_default'
language_negotiation_info in includes/language.inc
Returns all the defined language negotiation providers.

File

includes/language.inc, line 509
Language Negotiation API.

Code

function language_from_default() {
  return language_default()->language;
}