Constants

Primary tabs

Name Location Description Direct usessort ascending Strings
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
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
IMAGE_STORAGE_NORMAL drupal/core/modules/image/image.module Image style constant for user presets in the database. 1
IMAGE_STORAGE_OVERRIDE drupal/core/modules/image/image.module Image style constant for user presets that override module-defined presets. 1
IMAGE_STORAGE_DEFAULT drupal/core/modules/image/image.module Image style constant for module-defined presets in code. 1
IMAGE_STORAGE_EDITABLE drupal/core/modules/image/image.module Image style constant to represent an editable preset. 1 1
LOCALE_JS_STRING drupal/core/modules/locale/locale.module Regular expression pattern used to localize JavaScript strings. 1
LOCALE_JS_OBJECT drupal/core/modules/locale/locale.module Regular expression pattern used to match simple JS object literal. 1
LOCALE_JS_OBJECT_CONTEXT drupal/core/modules/locale/locale.module Regular expression to match an object containing a key 'context'. 1 1
LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL drupal/core/modules/locale/locale.module Translation update mode: Use both remote and local files. 1
LOCALE_TRANSLATION_TIMESTAMP_THRESHOLD drupal/core/modules/locale/locale.compare.inc Threshold for timestamp comparison. 1
LOCALE_TRANSLATION_SOURCE_COMPARE_EQ drupal/core/modules/locale/locale.compare.inc Comparison result of source files timestamps. 1
LOCALE_TRANSLATION_SOURCE_COMPARE_GT drupal/core/modules/locale/locale.compare.inc Comparison result of source files timestamps. 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
FILTER_TYPE_TRANSFORM_IRREVERSIBLE drupal/core/modules/filter/filter.module Irreversible transformation filters. 1
LANGUAGE_NEGOTIATION_BROWSER drupal/core/modules/language/language.negotiation.inc The language is set based on the browser language settings. 1
LANGUAGE_NEGOTIATION_URL_FALLBACK drupal/core/modules/language/language.negotiation.inc If no URL language, language is determined using an already detected one. 1
LANGUAGE_NEGOTIATION_USER drupal/core/modules/language/language.negotiation.inc The language is set based on the user language settings. 1
LANGUAGE_NEGOTIATION_USER_ADMIN drupal/core/modules/language/language.negotiation.inc The language is set based on the user admin language settings. 1
LANGUAGE_NEGOTIATION_SESSION drupal/core/modules/language/language.negotiation.inc The language is set based on the request/session parameters. 1
COMMENT_ANONYMOUS_MUST_CONTACT drupal/core/modules/comment/comment.module Anonymous posters are required to leave their contact information. 1
ARCHIVE_TAR_ATT_SEPARATOR drupal/core/lib/Drupal/Component/Archiver/ArchiveTar.php 1 1
ARCHIVE_TAR_END_BLOCK drupal/core/lib/Drupal/Component/Archiver/ArchiveTar.php 1 1
NBSP drupal/core/lib/Drupal/Component/Diff/DiffEngine.php Additions by Axel Boldt follow, partly taken from diff.php, phpwiki-1.3.3 1 1

Pages

Other projects