$language
An object containing the information for the active interface language.
It represents the language the user interface textual elements such as titles, labels or messages, are to be displayed in.
Example values:
- 'language' => 'en',
- 'name' => 'English',
- 'native' => 'English',
- 'direction' => 0,
- 'enabled' => 1,
- 'plurals' => 0,
- 'formula' => '',
- 'domain' => '',
- 'prefix' => '',
- 'weight' => 0,
- 'javascript' => ''
See also
File
-
external_documentation/
developer/ globals.php, line 109
Code
global $language;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.