Globals - 7.x - drupal

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

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.