Globals

NameLocationDescription
$base_pathdocumentation/developer/globals.phpThe base path of the Drupal installation.
$base_rootdocumentation/developer/globals.phpThe root URL of the host, excluding the path.
$base_theme_infodocumentation/developer/globals.phpAn array of objects that represent the base theme.
$base_urldocumentation/developer/globals.phpThe base URL of the Drupal installation.
$channeldocumentation/developer/globals.phpAn associative array containing title, link, description and other keys.
$confdrupal/authorize.php
$confdocumentation/developer/globals.phpArray of persistent variables stored in 'variable' table.
$cookie_domaindocumentation/developer/globals.phpThe domain to be used for session cookies.
$custom_themedocumentation/developer/globals.phpName of custom theme to override default theme.
$databasesdocumentation/developer/globals.phpArray of database connections.
$drupal_test_infodrupal/modules/simpletest/drupal_web_test_case.phpGlobal variable that holds information about the tests being run.
$drupal_test_infocontributions/simpletest/drupal_web_test_case.phpGlobal variable that holds information about the tests being run.
$elementdocumentation/developer/globals.phpStructured array describing the data to be rendered.
$forum_topic_list_headerdocumentation/developer/globals.phpAn array of forum topic header information.
$imagedocumentation/developer/globals.phpCurrent image tag used by aggregator parsing.
$installed_profiledocumentation/developer/globals.phpThe name of the profile that has just been installed.
$itemdocumentation/developer/globals.phpGeneral string or array.
$itemsdocumentation/developer/globals.phpArray of items used by aggregator.
$languagedocumentation/developer/globals.phpAn object containing the information for the active interface language.
$language_contentdocumentation/developer/globals.phpAn object containing the information for the active content language.
$language_urldocumentation/developer/globals.phpAn object containing the information for the active URL language.
$menu_admindocumentation/developer/globals.phpBoolean indicating that a menu administrator is running a menu access check.
$multibytedocumentation/developer/globals.phpThe current multibyte mode.
$pager_limitsdocumentation/developer/globals.phpArray of the number of items per page for each pager.
$pager_page_arraydocumentation/developer/globals.phpArray of current page numbers for each pager.
$pager_totaldocumentation/developer/globals.phpArray of the total number of pages for each pager.
$pager_total_itemsdocumentation/developer/globals.phpArray of the total number of items for each pager.
$tagdocumentation/developer/globals.phpActive tag name.
$themedocumentation/developer/globals.phpName of the active theme.
$theme_enginedocumentation/developer/globals.phpThe theme engine related to the active theme.
$theme_infodocumentation/developer/globals.phpActive theme object.
$theme_keydocumentation/developer/globals.phpName of the active theme.
$theme_pathdocumentation/developer/globals.phpThe path to the active theme.
$timersdocumentation/developer/globals.phpTimers that have been created by timer_start().
$update_free_accessdocumentation/developer/globals.phpAllows the update.php script to be run when not logged in as administrator.
$userdocumentation/developer/globals.phpAn object representing the currently logged-in user.
$_memcache_statisticscontributions/memcache/dmemcache.inc