globals.php

Version 1.14 (checked in on 2010/10/15 at 21:31:51 by jhodgdon)

These are the global variables that Drupal uses.

Globals

NameDescription
$base_pathThe base path of the Drupal installation.
$base_rootThe root URL of the host, excluding the path.
$base_theme_infoAn array of objects that represent the base theme.
$base_urlThe base URL of the Drupal installation.
$channelAn associative array containing title, link, description and other keys.
$confArray of persistent variables stored in 'variable' table.
$cookie_domainThe domain to be used for session cookies.
$custom_themeName of custom theme to override default theme.
$databasesArray of database connections.
$elementStructured array describing the data to be rendered.
$forum_topic_list_headerAn array of forum topic header information.
$imageCurrent image tag used by aggregator parsing.
$installed_profileThe name of the profile that has just been installed.
$itemGeneral string or array.
$itemsArray of items used by aggregator.
$languageAn object containing the information for the active interface language.
$language_contentAn object containing the information for the active content language.
$language_urlAn object containing the information for the active URL language.
$menu_adminBoolean indicating that a menu administrator is running a menu access check.
$multibyteThe current multibyte mode.
$pager_limitsArray of the number of items per page for each pager.
$pager_page_arrayArray of current page numbers for each pager.
$pager_totalArray of the total number of pages for each pager.
$pager_total_itemsArray of the total number of items for each pager.
$tagActive tag name.
$themeName of the active theme.
$theme_engineThe theme engine related to the active theme.
$theme_infoActive theme object.
$theme_keyName of the active theme.
$theme_pathThe path to the active theme.
$timersTimers that have been created by timer_start().
$update_free_accessAllows the update.php script to be run when not logged in as administrator.
$userAn object representing the currently logged-in user.