Constants - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
REGIONS_ALL modules/system/system.module Return all regions. 4 1
REGIONS_VISIBLE modules/system/system.module Return only visible regions. 6 1
REGISTRY_RESET_LOOKUP_CACHE includes/bootstrap.inc Signals that the registry lookup cache should be reset. 2 1
REGISTRY_WRITE_LOOKUP_CACHE includes/bootstrap.inc Signals that the registry lookup cache should be written to storage. 2 1
REQUEST_TIME includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch. 105 1
REQUIRED_D6_SCHEMA_VERSION includes/update.inc Minimum schema version of Drupal 6 required for upgrade to Drupal 7. 1 1
REQUIREMENT_ERROR includes/install.inc Requirement severity -- Error condition; abort installation. 21 1
REQUIREMENT_INFO includes/install.inc Requirement severity -- Informational message only. 6 1
REQUIREMENT_OK includes/install.inc Requirement severity -- Requirement successfully met. 9 1
REQUIREMENT_WARNING includes/install.inc Requirement severity -- Warning condition; proceed but flag warning. 13 1
SAVED_DELETED includes/common.inc Return status for saving which deleted an existing item. 2 1
SAVED_NEW includes/common.inc Return status for saving which involved creating a new item. 12 1
SAVED_UPDATED includes/common.inc Return status for saving which involved an update to an existing item. 12 1
SCHEMA_INSTALLED includes/install.inc Indicates that a module has been installed. 3 1
SCHEMA_UNINSTALLED includes/install.inc Indicates that a module has not been installed yet. 8 1
SEARCH_TYPE modules/search/search.test 1 1
SEARCH_TYPE_2 modules/search/search.test 1 1
SEARCH_TYPE_JPN modules/search/search.test 1 1
SHORTCUT_DEFAULT_SET_NAME modules/shortcut/shortcut.module The name of the default shortcut set. 5 1
SIMPLETEST_MINIMUM_PHP_MEMORY_LIMIT modules/simpletest/simpletest.install Minimum value of PHP memory_limit for SimpleTest. 1 1
STREAM_WRAPPERS_ALL includes/stream_wrappers.inc Stream wrapper bit flag -- a filter that matches all wrappers. 1
STREAM_WRAPPERS_HIDDEN includes/stream_wrappers.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 includes/stream_wrappers.inc Stream wrapper bit flag -- refers to a local file system location. 3 1
STREAM_WRAPPERS_LOCAL_HIDDEN includes/stream_wrappers.inc Stream wrapper type flag -- hidden, readable and writeable using local files. 2 1
STREAM_WRAPPERS_LOCAL_NORMAL includes/stream_wrappers.inc Stream wrapper type flag -- visible, readable and writeable using local files. 2 1
STREAM_WRAPPERS_NORMAL includes/stream_wrappers.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… 2 1
STREAM_WRAPPERS_READ includes/stream_wrappers.inc Stream wrapper bit flag -- wrapper is readable (almost always true). 1 1
STREAM_WRAPPERS_READ_VISIBLE includes/stream_wrappers.inc Stream wrapper type flag -- visible and read-only. 1 1
STREAM_WRAPPERS_VISIBLE includes/stream_wrappers.inc Stream wrapper bit flag -- exposed in the UI and potentially web accessible. 1 1
STREAM_WRAPPERS_WRITE includes/stream_wrappers.inc Stream wrapper bit flag -- wrapper is writeable. 1 1
STREAM_WRAPPERS_WRITE_VISIBLE includes/stream_wrappers.inc Stream wrapper type flag -- visible, readable and writeable. 6 1
TRANSLATION_ENABLED modules/translation/translation.module Identifies a content type which has translation support enabled. 1 1
UNICODE_ERROR includes/unicode.inc Indicates an error during check for PHP unicode support. 1 1
UNICODE_MULTIBYTE includes/unicode.inc Indicates that full unicode support with the PHP mbstring extension is being used. 6 1
UNICODE_SINGLEBYTE includes/unicode.inc Indicates that standard PHP (emulated) unicode support is being used. 3 1
UPDATE_CURRENT modules/update/update.module Project is up to date. 5 1
UPDATE_DEFAULT_URL modules/update/update.module URL to check for updates, if a given project doesn't define its own. 1 1
UPDATE_FETCH_PENDING modules/update/update.module We need to (re)fetch available update data for this project. 5 1
UPDATE_MAX_FETCH_ATTEMPTS modules/update/update.module Maximum number of attempts to fetch available update data from a given host. 1 4
UPDATE_MAX_FETCH_TIME modules/update/update.module Maximum number of seconds to try fetching available update data at a time. 1 3
UPDATE_NOT_CHECKED modules/update/update.module Project's status cannot be checked. 6 1
UPDATE_NOT_CURRENT modules/update/update.module Project has a new release available, but it is not a security release. 7 1
UPDATE_NOT_FETCHED modules/update/update.module There was a failure fetching available update data for this project. 5 1
UPDATE_NOT_SECURE modules/update/update.module Project is missing security update(s). 8 1
UPDATE_NOT_SUPPORTED modules/update/update.module Current release is no longer supported by the project maintainer. 6 1
UPDATE_REVOKED modules/update/update.module Current release has been unpublished and is no longer available. 6 1
UPDATE_UNKNOWN modules/update/update.module No available update data was found for project. 7 1
USERNAME_MAX_LENGTH modules/user/user.module Maximum length of username text field. 6 1
USER_REGISTER_ADMINISTRATORS_ONLY modules/user/user.module Only administrators can create user accounts. 4 1
USER_REGISTER_VISITORS modules/user/user.module Visitors can create their own accounts. 17 1

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.