1. 7 developer/globals.php language
  2. 6 developer/globals.php language
  3. 8 developer/globals.php language

An object containing the information for the active language.

Example values:

  • 'language' => 'en',
  • 'name' => 'English',
  • 'native' => 'English',
  • 'direction' => 0,
  • 'enabled' => 1,
  • 'plurals' => 0,
  • 'formula' => '',
  • 'domain' => '',
  • 'prefix' => '',
  • 'weight' => 0,
  • 'javascript' => ''

File

developer/globals.php, line 103
These are the global variables that Drupal uses.

Code

global $language;