Skip navigation
Help

$language_content

  1. drupal
    1. 7 documentation/developer/globals.php

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/developer/globals.php, line 119
These are the global variables that Drupal uses.

Code

global $language_content