function language_from_default

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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.