Error message
You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).function language_from_default
Returns the default language negotiation provider.
Return value
The default language code.
Related topics
- Language Negotiation API functionality
- Functions to customize the language types and the negotiation process.
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.