Constants

Primary tabs

Contains filters are case sensitive
Name Locationsort descending Description
DRUPAL_ROOT drupal/authorize.php Defines the root directory of the Drupal installation.
MAINTENANCE_MODE drupal/authorize.php Global flag to identify update.php and authorize.php runs.
DRUPAL_ROOT drupal/cron.php Root directory of Drupal installation.
LANGUAGE_RTL drupal/includes/bootstrap.inc Language written right to left. Possible value of $language->direction.
REQUEST_TIME drupal/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch.
CHECK_PLAIN drupal/includes/bootstrap.inc Flag used to indicate that text is not sanitized, so run check_plain().
PASS_THROUGH drupal/includes/bootstrap.inc Flag used to indicate that text has already been sanitized.
REGISTRY_RESET_LOOKUP_CACHE drupal/includes/bootstrap.inc Signals that the registry lookup cache should be reset.
REGISTRY_WRITE_LOOKUP_CACHE drupal/includes/bootstrap.inc Signals that the registry lookup cache should be written to storage.
DRUPAL_PHP_FUNCTION_PATTERN drupal/includes/bootstrap.inc Regular expression to match PHP function names.
DATE_RFC7231 drupal/includes/bootstrap.inc A RFC7231 Compliant date.
VERSION drupal/includes/bootstrap.inc The current system version.
DRUPAL_CORE_COMPATIBILITY drupal/includes/bootstrap.inc Core API compatibility.
DRUPAL_MINIMUM_PHP drupal/includes/bootstrap.inc Minimum supported version of PHP.
DRUPAL_MINIMUM_PHP_MEMORY_LIMIT drupal/includes/bootstrap.inc Minimum recommended value of PHP memory_limit.
ERROR_REPORTING_HIDE drupal/includes/bootstrap.inc Error reporting level: display no errors.
ERROR_REPORTING_DISPLAY_SOME drupal/includes/bootstrap.inc Error reporting level: display errors and warnings.
ERROR_REPORTING_DISPLAY_ALL drupal/includes/bootstrap.inc Error reporting level: display all messages.
CACHE_PERMANENT drupal/includes/bootstrap.inc Indicates that the item should never be removed unless explicitly selected.
CACHE_TEMPORARY drupal/includes/bootstrap.inc Indicates that the item should be removed at the next general cache wipe.
WATCHDOG_EMERGENCY drupal/includes/bootstrap.inc Log message severity -- Emergency: system is unusable.
WATCHDOG_ALERT drupal/includes/bootstrap.inc Log message severity -- Alert: action must be taken immediately.
WATCHDOG_CRITICAL drupal/includes/bootstrap.inc Log message severity -- Critical conditions.
WATCHDOG_ERROR drupal/includes/bootstrap.inc Log message severity -- Error conditions.
WATCHDOG_WARNING drupal/includes/bootstrap.inc Log message severity -- Warning conditions.
WATCHDOG_NOTICE drupal/includes/bootstrap.inc Log message severity -- Normal but significant conditions.
WATCHDOG_INFO drupal/includes/bootstrap.inc Log message severity -- Informational messages.
WATCHDOG_DEBUG drupal/includes/bootstrap.inc Log message severity -- Debug-level messages.
DRUPAL_BOOTSTRAP_CONFIGURATION drupal/includes/bootstrap.inc First bootstrap phase: initialize configuration.
DRUPAL_BOOTSTRAP_PAGE_CACHE drupal/includes/bootstrap.inc Second bootstrap phase: try to serve a cached page.
DRUPAL_BOOTSTRAP_DATABASE drupal/includes/bootstrap.inc Third bootstrap phase: initialize database layer.
DRUPAL_BOOTSTRAP_VARIABLES drupal/includes/bootstrap.inc Fourth bootstrap phase: initialize the variable system.
DRUPAL_BOOTSTRAP_SESSION drupal/includes/bootstrap.inc Fifth bootstrap phase: initialize session handling.
DRUPAL_BOOTSTRAP_PAGE_HEADER drupal/includes/bootstrap.inc Sixth bootstrap phase: set up the page header.
DRUPAL_BOOTSTRAP_LANGUAGE drupal/includes/bootstrap.inc Seventh bootstrap phase: find out language of the page.
DRUPAL_BOOTSTRAP_FULL drupal/includes/bootstrap.inc Final bootstrap phase: Drupal is fully loaded; validate and fix input data.
DRUPAL_ANONYMOUS_RID drupal/includes/bootstrap.inc Role ID for anonymous users; should match what's in the "role" table.
DRUPAL_AUTHENTICATED_RID drupal/includes/bootstrap.inc Role ID for authenticated users; should match what's in the "role" table.
DRUPAL_KILOBYTE drupal/includes/bootstrap.inc The number of bytes in a kilobyte.
LANGUAGE_NONE drupal/includes/bootstrap.inc The language code used when no language is explicitly assigned.
LANGUAGE_TYPE_CONTENT drupal/includes/bootstrap.inc The type of language used to define the content language.
LANGUAGE_TYPE_INTERFACE drupal/includes/bootstrap.inc The type of language used to select the user interface.
LANGUAGE_TYPE_URL drupal/includes/bootstrap.inc The type of language used for URLs.
LANGUAGE_LTR drupal/includes/bootstrap.inc Language written left to right. Possible value of $language->direction.
SAVED_NEW drupal/includes/common.inc Return status for saving which involved creating a new item.
SAVED_UPDATED drupal/includes/common.inc Return status for saving which involved an update to an existing item.
SAVED_DELETED drupal/includes/common.inc Return status for saving which deleted an existing item.
CSS_SYSTEM drupal/includes/common.inc The default group for system CSS files added to the page.
CSS_DEFAULT drupal/includes/common.inc The default group for module CSS files added to the page.
CSS_THEME drupal/includes/common.inc The default group for theme CSS files added to the page.

Pages

Other projects