Constants

Primary tabs

Name Locationsort descending Description Direct uses Strings
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
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
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
CONFIG_IMPORT_LOCK drupal/core/includes/config.inc Config import lock name used to prevent concurrent synchronizations. 2
STREAM_WRAPPERS_ALL drupal/core/includes/file.inc Stream wrapper bit flag -- a filter that matches all wrappers.
STREAM_WRAPPERS_LOCAL drupal/core/includes/file.inc Stream wrapper bit flag -- refers to a local file system location. 2
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_LOCAL_HIDDEN drupal/core/includes/file.inc Stream wrapper type flag -- hidden, readable and writeable using local files. 2 1
STREAM_WRAPPERS_WRITE_VISIBLE drupal/core/includes/file.inc Stream wrapper type flag -- visible, readable and writeable. 4 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
STREAM_WRAPPERS_LOCAL_NORMAL drupal/core/includes/file.inc Stream wrapper type flag -- visible, readable and writeable using local files. 3 1
FILE_CREATE_DIRECTORY drupal/core/includes/file.inc Flag used by file_prepare_directory() -- create directory if not present. 21
FILE_MODIFY_PERMISSIONS drupal/core/includes/file.inc Flag used by file_prepare_directory() -- file permissions may be changed. 6
FILE_EXISTS_RENAME drupal/core/includes/file.inc Flag for dealing with existing files: Appends number until name is unique. 18
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. 17
INSTALL_TASK_SKIP drupal/core/includes/install.core.inc Do not run the task during the current installation request. 3
INSTALL_TASK_RUN_IF_REACHED drupal/core/includes/install.core.inc Run the task on each installation request that reaches it. 2
INSTALL_TASK_RUN_IF_NOT_COMPLETED drupal/core/includes/install.core.inc Run the task on each installation request until the database is set up. 3
REQUIREMENT_INFO drupal/core/includes/install.inc Requirement severity -- Informational message only. 1
REQUIREMENT_OK drupal/core/includes/install.inc Requirement severity -- Requirement successfully met. 1
REQUIREMENT_WARNING drupal/core/includes/install.inc Requirement severity -- Warning condition; proceed but flag warning. 11
REQUIREMENT_ERROR drupal/core/includes/install.inc Requirement severity -- Error condition; abort installation. 19
FILE_EXIST drupal/core/includes/install.inc File permission check -- File exists. 4
FILE_READABLE drupal/core/includes/install.inc File permission check -- File is readable. 6
FILE_WRITABLE drupal/core/includes/install.inc File permission check -- File is writable. 5
FILE_EXECUTABLE drupal/core/includes/install.inc File permission check -- File is executable. 3

Pages

Other projects