Globals - 7.x - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| $base_path | external_documentation/ |
The base path of the Drupal installation. | 26 | ||
| $base_root | external_documentation/ |
The root URL of the host, excluding the path. | |||
| $base_theme_info | external_documentation/ |
An array of objects that represent the base theme. | |||
| $base_url | external_documentation/ |
The base URL of the Drupal installation. | |||
| $channel | external_documentation/ |
An associative array containing title, link, description and other keys. | |||
| $conf | ./ |
||||
| $conf | external_documentation/ |
Array of persistent variables stored in 'variable' table. | |||
| $cookie_domain | external_documentation/ |
The domain to be used for session cookies. | |||
| $databases | external_documentation/ |
Array of database connections. | |||
| $drupal_test_info | modules/ |
Global variable that holds information about the tests being run. | |||
| $element | external_documentation/ |
Structured array describing the data to be rendered. | 9 | ||
| $forum_topic_list_header | external_documentation/ |
An array of forum topic header information. | |||
| $image | external_documentation/ |
Current image tag used by aggregator parsing. | 102 | ||
| $installed_profile | external_documentation/ |
The name of the profile that has just been installed. | |||
| $is_https | external_documentation/ |
Boolean indicating whether or not the current request is secured by HTTPS. | |||
| $item | external_documentation/ |
General string or array. | 3 | ||
| $items | external_documentation/ |
Array of items used by aggregator. | 1 | ||
| $language | external_documentation/ |
An object containing the information for the active interface language. | 73 | ||
| $language_content | external_documentation/ |
An object containing the information for the active content language. | 1 | ||
| $language_url | external_documentation/ |
An object containing the information for the active URL language. | 1 | ||
| $menu_admin | external_documentation/ |
Boolean indicating that a menu administrator is running a menu access check. | |||
| $multibyte | external_documentation/ |
The current multibyte mode. | |||
| $pager_limits | external_documentation/ |
Array of the number of items per page for each pager. | |||
| $pager_page_array | external_documentation/ |
Array of current page numbers for each pager. | |||
| $pager_total | external_documentation/ |
Array of the total number of pages for each pager. | |||
| $pager_total_items | external_documentation/ |
Array of the total number of items for each pager. | |||
| $tag | external_documentation/ |
Active tag name. | 2 | ||
| $theme | external_documentation/ |
Name of the active theme. | 218 | 50 | |
| $theme_engine | external_documentation/ |
The theme engine related to the active theme. | 4 | ||
| $theme_info | external_documentation/ |
Active theme object. | |||
| $theme_key | external_documentation/ |
Name of the active theme. | |||
| $theme_path | external_documentation/ |
The path to the active theme. | |||
| $timers | external_documentation/ |
Timers that have been created by timer_start(). | |||
| $update_free_access | external_documentation/ |
Allows the update.php script to be run when not logged in as administrator. | |||
| $user | external_documentation/ |
An object representing the user currently visiting the site. | 169 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.