global $language_content

An object containing the information for the active content language.

It is used by the Field API as a default value when no language is specified to select the field translation to be displayed.

See also

LANGUAGE_TYPE_CONTENT

drupal_language_initialize()

File

documentation-7.x/developer/globals.php, line 120
These are the global variables that Drupal uses.

Code

global $language_content;