Constants

Primary tabs

Name Location Description Direct uses Stringssort ascending
DRUPAL_AUTHENTICATED_RID drupal/core/includes/bootstrap.inc Role ID for authenticated users; should match what's in the "role" table. 25
DRUPAL_KILOBYTE drupal/core/includes/bootstrap.inc The number of bytes in a kilobyte. 3
LANGUAGE_SYSTEM drupal/core/includes/bootstrap.inc Special system language code (only applicable to UI language). 4
LANGUAGE_NOT_SPECIFIED drupal/core/includes/bootstrap.inc The language code used when no language is explicitly assigned (yet). 187
LANGUAGE_NOT_APPLICABLE drupal/core/includes/bootstrap.inc The language code used when the marked object has no linguistic content. 2
LANGUAGE_MULTIPLE drupal/core/includes/bootstrap.inc The language code used when multiple languages could be applied. 2
LANGUAGE_DEFAULT drupal/core/includes/bootstrap.inc Language code referring to the default language of data, e.g. of an entity. 6
LANGUAGE_CONFIGURABLE drupal/core/includes/bootstrap.inc The language state when referring to configurable languages. 7
LANGUAGE_LOCKED drupal/core/includes/bootstrap.inc The language state when referring to locked languages. 7
LANGUAGE_ALL drupal/core/includes/bootstrap.inc The language state used when referring to all languages. 22
LANGUAGE_SITE_DEFAULT drupal/core/includes/bootstrap.inc The language state used when referring to the site's default language. 2
LANGUAGE_TYPE_CONTENT drupal/core/includes/bootstrap.inc The type of language used to define the content language. 12
LANGUAGE_TYPE_INTERFACE drupal/core/includes/bootstrap.inc The type of language used to select the user interface. 55
LANGUAGE_TYPE_URL drupal/core/includes/bootstrap.inc The type of language used for URLs. 4
LANGUAGE_LTR drupal/core/includes/bootstrap.inc Language written left to right. Possible value of $language->direction. 3
LANGUAGE_RTL drupal/core/includes/bootstrap.inc Language written right to left. Possible value of $language->direction. 5
UNICODE_ERROR drupal/core/includes/bootstrap.inc Indicates an error during check for PHP unicode support. 1
UNICODE_SINGLEBYTE drupal/core/includes/bootstrap.inc Indicates that standard PHP (emulated) unicode support is being used. 3
UNICODE_MULTIBYTE drupal/core/includes/bootstrap.inc Indicates that full unicode support with the PHP mbstring extension is being used. 7
CHECK_PLAIN drupal/core/includes/bootstrap.inc Flag for drupal_set_title(); text is not sanitized, so run check_plain(). 1
PASS_THROUGH drupal/core/includes/bootstrap.inc Flag for drupal_set_title(); text has already been sanitized. 36
DRUPAL_PHP_FUNCTION_PATTERN drupal/core/includes/bootstrap.inc Regular expression to match PHP function names. 10
CONFIG_ACTIVE_DIRECTORY drupal/core/includes/bootstrap.inc $config_directories key for active directory. 5
CONFIG_STAGING_DIRECTORY drupal/core/includes/bootstrap.inc $config_directories key for staging directory. 4
SCHEMA_UNINSTALLED drupal/core/includes/schema.inc Indicates that a module has not been installed yet. 9
SCHEMA_INSTALLED drupal/core/includes/schema.inc Indicates that a module has been installed. 2
CONFIG_IMPORT_LOCK drupal/core/includes/config.inc Config import lock name used to prevent concurrent synchronizations. 2
SAVED_NEW drupal/core/includes/common.inc Return status for saving which involved creating a new item. 16
SAVED_UPDATED drupal/core/includes/common.inc Return status for saving which involved an update to an existing item. 17
SAVED_DELETED drupal/core/includes/common.inc Return status for saving which deleted an existing item.
CSS_SYSTEM drupal/core/includes/common.inc The default group for system CSS files added to the page. 2
CSS_DEFAULT drupal/core/includes/common.inc The default group for module CSS files added to the page. 2
CSS_THEME drupal/core/includes/common.inc The default group for theme CSS files added to the page. 2
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. 4
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
HTTP_REQUEST_TIMEOUT drupal/core/includes/common.inc Error code indicating that the request exceeded the specified timeout. 2
DRUPAL_NO_CACHE drupal/core/includes/common.inc The block should not get cached. 17
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. 7
MARK_READ drupal/core/includes/theme.inc Mark content as read. 3
MARK_NEW drupal/core/includes/theme.inc Mark content as being new. 4
MARK_UPDATED drupal/core/includes/theme.inc Mark content as being updated. 3
RESPONSIVE_PRIORITY_MEDIUM drupal/core/includes/theme.inc A responsive table class; hide table cell on narrow devices. 5
RESPONSIVE_PRIORITY_LOW drupal/core/includes/theme.inc A responsive table class; only show table cell on wide devices. 6

Pages

Other projects