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.
DRUPAL_MINIMUM_PHP_MEMORY_LIMIT drupal/core/includes/bootstrap.inc Minimum recommended value of PHP memory_limit.
ERROR_REPORTING_HIDE drupal/core/includes/bootstrap.inc Error reporting level: display no errors.
SAVED_DELETED drupal/core/includes/common.inc Return status for saving which deleted an existing item.
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.
OPENID_NS_OPENID drupal/core/modules/openid/openid.inc OpenID namespace used in Yadis documents.
OPENID_NS_XRD drupal/core/modules/openid/openid.inc Extensible Resource Descriptor documents.
VIEWS_API_VERSION drupal/core/modules/views/views.module Views API version string.
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.
FIELD_BEHAVIOR_NONE drupal/core/modules/field/field.module Value for field API indicating a widget doesn't accept default values.
IMAGE_STORAGE_MODULE drupal/core/modules/image/image.module Image style constant to represent any module-based preset. 1
LOCALE_TRANSLATION_USE_SOURCE_LOCAL drupal/core/modules/locale/locale.module Translation update mode: Use local files only.
LOCALE_TRANSLATION_DEFAULT_SERVER_PATTERN drupal/core/modules/locale/locale.module Default location of gettext file on the translation server.
LOCALE_TRANSLATION_DEFAULT_FILENAME drupal/core/modules/locale/locale.module Default file name of translation files stored in the local file system.
FILTER_TYPE_TRANSFORM_REVERSIBLE drupal/core/modules/filter/filter.module Reversible transformation filters.
REQUIRED_D7_SCHEMA_VERSION drupal/core/includes/update.inc Minimum schema version of Drupal 7 required for upgrade to Drupal 8. 1
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
FILE_NOT_EXIST drupal/core/includes/install.inc File permission check -- File does not exist. 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
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. 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
DRUPAL_BOOTSTRAP_PAGE_HEADER drupal/core/includes/bootstrap.inc Seventh bootstrap phase: set up the page header. 1
UNICODE_ERROR drupal/core/includes/bootstrap.inc Indicates an error during check for PHP unicode support. 1
CHECK_PLAIN drupal/core/includes/bootstrap.inc Flag for drupal_set_title(); text is not sanitized, so run check_plain(). 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
OPENID_RAND_SOURCE drupal/core/modules/openid/openid.inc Random number generator; used for Diffie-Hellman key exchange computations. 1
OPENID_NS_1_1 drupal/core/modules/openid/openid.inc OpenID Authentication 1.1 namespace URL; used for backwards-compatibility. 1
OPENID_NS_1_0 drupal/core/modules/openid/openid.inc OpenID Authentication 1.0 namespace URL; used for backwards-compatibility. 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
FIELD_BEHAVIOR_CUSTOM drupal/core/modules/field/field.module Value for field API indicating a widget can receive several field values. 1
FIELD_STORAGE_INSERT drupal/core/modules/field/field.attach.inc Argument for an insert operation. 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
BLOCK_CUSTOM_DISABLED drupal/core/modules/block/block.module Hides this block by default but lets individual users show it. 1

Pages

Other projects