Constants

Primary tabs

Name Locationsort ascending Description Direct uses Strings
FILE_EXISTS_REPLACE drupal/core/includes/file.inc Flag for dealing with existing files: Replace the existing file. 26
FILE_EXISTS_ERROR drupal/core/includes/file.inc Flag for dealing with existing files: Do nothing and return FALSE. 12
FILE_STATUS_PERMANENT drupal/core/includes/file.inc Indicates that the file is permanent and should not be deleted. 19
SAVED_NEW drupal/core/includes/common.inc Return status for saving which involved creating a new item. 14
SAVED_UPDATED drupal/core/includes/common.inc Return status for saving which involved an update to an existing item. 19
SAVED_DELETED drupal/core/includes/common.inc Return status for saving which deleted an existing item.
CSS_AGGREGATE_DEFAULT drupal/core/includes/common.inc The default aggregation group for CSS files added to the page. 2
CSS_AGGREGATE_THEME drupal/core/includes/common.inc The default aggregation group for theme CSS files added to the page. 2
CSS_BASE drupal/core/includes/common.inc The default weight for CSS rules that style HTML elements ("base" styles).
CSS_LAYOUT drupal/core/includes/common.inc The default weight for CSS rules that layout a page.
CSS_COMPONENT drupal/core/includes/common.inc The default weight for CSS rules that style design components (and their associated states and skins.) 1
CSS_STATE drupal/core/includes/common.inc The default weight for CSS rules that style states and are not included with components.
CSS_SKIN drupal/core/includes/common.inc The default weight for CSS rules that style skins and are not included with components. 1
JS_SETTING drupal/core/includes/common.inc The default group for JavaScript settings added to the page. 1
JS_LIBRARY drupal/core/includes/common.inc The default group for JavaScript and jQuery libraries added to the page. 6
JS_DEFAULT drupal/core/includes/common.inc The default group for module JavaScript code added to the page. 5
JS_THEME drupal/core/includes/common.inc The default group for theme JavaScript code added to the page. 2
DRUPAL_NO_CACHE drupal/core/includes/common.inc The block should not get cached. 13
DRUPAL_CACHE_CUSTOM drupal/core/includes/common.inc The block is handling its own caching in its hook_block_view(). 2
DRUPAL_CACHE_PER_ROLE drupal/core/includes/common.inc The block or element can change depending on the user's roles. 5
DRUPAL_CACHE_PER_USER drupal/core/includes/common.inc The block or element can change depending on the user. 2
DRUPAL_CACHE_PER_PAGE drupal/core/includes/common.inc The block or element can change depending on the page being viewed. 3
DRUPAL_CACHE_GLOBAL drupal/core/includes/common.inc The block or element is the same for every user and page that it is visible. 1
LOCALE_PLURAL_DELIMITER drupal/core/includes/common.inc The delimiter used to split plural strings. 8
VERSION drupal/core/includes/bootstrap.inc The current system version. 42 171
DRUPAL_CORE_COMPATIBILITY drupal/core/includes/bootstrap.inc Core API compatibility. 12 1
DRUPAL_MINIMUM_PHP drupal/core/includes/bootstrap.inc Minimum supported version of PHP. 5
DRUPAL_MINIMUM_PHP_MEMORY_LIMIT drupal/core/includes/bootstrap.inc Minimum recommended value of PHP memory_limit. 1
ERROR_REPORTING_HIDE drupal/core/includes/bootstrap.inc Error reporting level: display no errors.
ERROR_REPORTING_DISPLAY_SOME drupal/core/includes/bootstrap.inc Error reporting level: display errors and warnings. 1
ERROR_REPORTING_DISPLAY_ALL drupal/core/includes/bootstrap.inc Error reporting level: display all messages. 2
ERROR_REPORTING_DISPLAY_VERBOSE drupal/core/includes/bootstrap.inc Error reporting level: display all messages, plus backtrace information. 2
WATCHDOG_EMERGENCY drupal/core/includes/bootstrap.inc Log message severity -- Emergency: system is unusable. 1
WATCHDOG_ALERT drupal/core/includes/bootstrap.inc Log message severity -- Alert: action must be taken immediately. 1
WATCHDOG_CRITICAL drupal/core/includes/bootstrap.inc Log message severity -- Critical conditions.
WATCHDOG_ERROR drupal/core/includes/bootstrap.inc Log message severity -- Error conditions. 25
WATCHDOG_WARNING drupal/core/includes/bootstrap.inc Log message severity -- Warning conditions. 18
WATCHDOG_NOTICE drupal/core/includes/bootstrap.inc Log message severity -- Normal but significant conditions. 34
WATCHDOG_INFO drupal/core/includes/bootstrap.inc Log message severity -- Informational messages. 6
WATCHDOG_DEBUG drupal/core/includes/bootstrap.inc Log message severity -- Debug-level messages. 2
DRUPAL_BOOTSTRAP_CONFIGURATION drupal/core/includes/bootstrap.inc First bootstrap phase: initialize configuration. 4
DRUPAL_BOOTSTRAP_KERNEL drupal/core/includes/bootstrap.inc Second bootstrap phase, initalize a kernel. 1
DRUPAL_BOOTSTRAP_PAGE_CACHE drupal/core/includes/bootstrap.inc Third bootstrap phase: try to serve a cached page. 1
DRUPAL_BOOTSTRAP_DATABASE drupal/core/includes/bootstrap.inc Fourth bootstrap phase: initialize database layer. 3
DRUPAL_BOOTSTRAP_VARIABLES drupal/core/includes/bootstrap.inc Fifth bootstrap phase: initialize the variable system. 4
DRUPAL_BOOTSTRAP_SESSION drupal/core/includes/bootstrap.inc Sixth bootstrap phase: initialize session handling. 3
DRUPAL_BOOTSTRAP_CODE drupal/core/includes/bootstrap.inc Eighth bootstrap phase: load code for subsystems and modules. 3
DRUPAL_BOOTSTRAP_FULL drupal/core/includes/bootstrap.inc Final bootstrap phase: initialize language, path, theme, and modules. 7
DRUPAL_ANONYMOUS_RID drupal/core/includes/bootstrap.inc Role ID for anonymous users; should match what's in the "role" table. 46
DRUPAL_AUTHENTICATED_RID drupal/core/includes/bootstrap.inc Role ID for authenticated users; should match what's in the "role" table. 34

Pages

Other projects