Constants

Primary tabs

Name Location Description Direct usessort descending Strings
STREAM_WRAPPERS_ALL drupal/core/includes/file.inc Stream wrapper bit flag -- a filter that matches all wrappers.
SAVED_DELETED drupal/core/includes/common.inc Return status for saving which deleted an existing item.
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_STATE drupal/core/includes/common.inc The default weight for CSS rules that style states and are not included with components.
MENU_IS_ROOT drupal/core/includes/menu.inc Internal menu flag -- menu item is the root of the menu tree.
MENU_MODIFIED_BY_ADMIN drupal/core/includes/menu.inc Internal menu flag -- menu item can be modified by administrator.
MENU_CREATED_BY_ADMIN drupal/core/includes/menu.inc Internal menu flag -- menu item was created by administrator.
ERROR_REPORTING_HIDE drupal/core/includes/bootstrap.inc Error reporting level: display no errors.
WATCHDOG_CRITICAL drupal/core/includes/bootstrap.inc Log message severity -- Critical conditions.
FIELD_BEHAVIOR_NONE drupal/core/modules/field/field.module Value for field API indicating a widget doesn't accept default values.
FIELD_BEHAVIOR_CUSTOM drupal/core/modules/field/field.module Value for field API indicating a widget can receive several field values.
DRUPAL_USER_TIMEZONE_DEFAULT drupal/core/modules/system/system.module New users will be set to the default time zone at registration.
DRUPAL_USER_TIMEZONE_EMPTY drupal/core/modules/system/system.module New users will get an empty time zone at registration.
LOCALE_TRANSLATION_IMPORTED drupal/core/modules/locale/locale.module Translation source is an imported file.
BLOCK_CUSTOM_FIXED drupal/core/modules/block/block.module Users cannot control whether or not they see this block.
BLOCK_CUSTOM_ENABLED drupal/core/modules/block/block.module Shows this block by default, but lets individual users hide it.
BLOCK_CUSTOM_DISABLED drupal/core/modules/block/block.module Hides this block by default but lets individual users show it.
IMAGE_STORAGE_MODULE drupal/core/modules/image/image.module Image style constant to represent any module-based preset. 1
PHPUnit_MAIN_METHOD drupal/core/vendor/phpunit/phpunit/phpunit.php 2
FILE_NOT_EXIST drupal/core/includes/install.inc File permission check -- File does not exist. 1
REQUIRED_D7_SCHEMA_VERSION drupal/core/includes/update.inc Minimum schema version of Drupal 7 required for upgrade to Drupal 8. 1
STREAM_WRAPPERS_READ drupal/core/includes/file.inc Stream wrapper bit flag -- wrapper is readable (almost always true). 1
STREAM_WRAPPERS_WRITE drupal/core/includes/file.inc Stream wrapper bit flag -- wrapper is writeable. 1
STREAM_WRAPPERS_VISIBLE drupal/core/includes/file.inc Stream wrapper bit flag -- exposed in the UI and potentially web accessible. 1
STREAM_WRAPPERS_HIDDEN drupal/core/includes/file.inc Stream wrapper type flag -- not visible in the UI or accessible via web, but readable and writable. E.g. the temporary directory for uploads. 1 1
STREAM_WRAPPERS_READ_VISIBLE drupal/core/includes/file.inc Stream wrapper type flag -- visible and read-only. 1 1
STREAM_WRAPPERS_NORMAL drupal/core/includes/file.inc Stream wrapper type flag -- the default when 'type' is omitted from hook_stream_wrappers(). This does not include STREAM_WRAPPERS_LOCAL, because PHP grants a greater trust level to local files (for example, they can be used in an… 1 1
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_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
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
MENU_IS_LOCAL_ACTION drupal/core/includes/menu.inc Internal menu flag -- menu item is a local action. 1
MENU_ACCESS_DENIED drupal/core/includes/menu.inc Internal menu status code -- Menu item access is denied. 1
MENU_PREFERRED_LINK drupal/core/includes/menu.inc Reserved key to identify the most specific menu link for a given path. 1
DRUPAL_MINIMUM_PHP_MEMORY_LIMIT drupal/core/includes/bootstrap.inc Minimum recommended value of PHP memory_limit. 1
ERROR_REPORTING_DISPLAY_SOME drupal/core/includes/bootstrap.inc Error reporting level: display errors and warnings. 1
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
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
CHECK_PLAIN drupal/core/includes/bootstrap.inc Flag for drupal_set_title(); text is not sanitized, so run check_plain(). 1
UPDATE_DEFAULT_URL drupal/core/modules/update/update.module URL to check for updates, if a given project doesn't define its own. 1
PREG_CLASS_NUMBERS drupal/core/modules/search/search.module Matches all 'N' Unicode character classes (numbers) 1 1
PREG_CLASS_PUNCTUATION drupal/core/modules/search/search.module Matches all 'P' Unicode character classes (punctuation) 1 1
DRUPAL_USER_TIMEZONE_SELECT drupal/core/modules/system/system.module New users will select their own timezone at registration. 1
REGIONS_ALL drupal/core/modules/system/system.module Return all regions. 1
SIMPLETEST_MINIMUM_PHP_MEMORY_LIMIT drupal/core/modules/simpletest/simpletest.install Minimum value of PHP memory_limit for SimpleTest. 1
USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL drupal/core/modules/user/user.module Visitors can create accounts, but they don't become active without administrative approval. 1
LOCALE_TRANSLATION_SOURCE_COMPARE_EQ drupal/core/modules/locale/locale.translation.inc Comparison result of source files timestamps. 1

Pages

Other projects