Constants

Primary tabs

Name Location Description Direct uses Stringssort ascending
VERSION drupal/core/includes/bootstrap.inc The current system version. 42 171
MAINTENANCE_MODE drupal/core/authorize.php Global flag to identify update.php and authorize.php runs. 6 17
MAINTENANCE_MODE drupal/core/install.php Global flag to indicate the site is in installation mode. 6 17
MAINTENANCE_MODE drupal/core/update.php Global flag indicating that update.php is being run. 6 17
REQUEST_TIME drupal/core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch. 140 4
REQUEST_TIME drupal/core/tests/bootstrap.php 140 4
DRUPAL_ROOT drupal/core/includes/bootstrap.inc Defines the root directory of the Drupal installation. 111 2
PHPUnit_MAIN_METHOD drupal/core/vendor/phpunit/phpunit/phpunit.php 2
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. 3 1
STREAM_WRAPPERS_WRITE_VISIBLE drupal/core/includes/file.inc Stream wrapper type flag -- visible, readable and writeable. 5 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. 2 1
MENU_NORMAL_ITEM drupal/core/includes/menu.inc Menu type -- A "normal" menu item that's shown in menu and breadcrumbs. 6 1
MENU_SUGGESTED_ITEM drupal/core/includes/menu.inc Menu type -- A normal menu item, hidden until enabled by an administrator. 8 1
MENU_LOCAL_TASK drupal/core/includes/menu.inc Menu type -- A task specific to the parent item, usually rendered as a tab. 28 1
MENU_DEFAULT_LOCAL_TASK drupal/core/includes/menu.inc Menu type -- The "default" local task, which is initially active. 36 1
MENU_LOCAL_ACTION drupal/core/includes/menu.inc Menu type -- An action specific to the parent, usually rendered as a link. 17 1
MENU_SIBLING_LOCAL_TASK drupal/core/includes/menu.inc Menu type -- A task specific to the parent, which is never rendered. 2 1
DRUPAL_CORE_COMPATIBILITY drupal/core/includes/bootstrap.inc Core API compatibility. 12 1
FIELD_LOAD_CURRENT drupal/core/modules/field/field.module Load the most recent version of an entity's field data. 15 1
FIELD_LOAD_REVISION drupal/core/modules/field/field.module Load the version of an entity's field data specified in the entity. 3 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
PREG_CLASS_CJK drupal/core/modules/search/search.module Matches CJK (Chinese, Japanese, Korean) letter-like characters. 2 1
HISTORY_READ_LIMIT drupal/core/modules/history/history.module Entities changed before this time are always shown as read. 6 1
EMAIL_MAX_LENGTH drupal/core/modules/user/user.module Maximum length of user e-mail text field. 2 1
LOCALE_JS_OBJECT_CONTEXT drupal/core/modules/locale/locale.module Regular expression to match an object containing a key 'context'. 1 1
IMAGE_STORAGE_EDITABLE drupal/core/modules/image/image.module Image style constant to represent an editable preset. 1 1
IMAGE_STORAGE_MODULE drupal/core/modules/image/image.module Image style constant to represent any module-based preset. 1
IMAGE_DERIVATIVE_TOKEN drupal/core/modules/image/image.module The name of the query parameter for image derivative tokens. 1 1
MAIL_LINE_ENDINGS drupal/core/includes/mail.inc Auto-detect appropriate line endings for e-mails. 3 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
USE_ASSERTS drupal/core/lib/Drupal/Component/Diff/DiffEngine.php @file A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3) 4 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
ERR_SELECT_FAILED drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/ProcessTestHelper.php 1 1
ERR_TIMEOUT drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/ProcessTestHelper.php 1 1
ERR_READ_FAILED drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/ProcessTestHelper.php 1 1
ERR_WRITE_FAILED drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/ProcessTestHelper.php 1 1
VIEWS_HANDLER_RENDER_TEXT_PHASE_SINGLE_ITEM drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php Indicator of the renderText() method for rendering a single item. (If no render_item() is present). 1 1
VIEWS_HANDLER_RENDER_TEXT_PHASE_COMPLETELY drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php Indicator of the renderText() method for rendering the whole element. (if no render_item() method is available). 1 1
VIEWS_HANDLER_RENDER_TEXT_PHASE_EMPTY drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php Indicator of the renderText() method for rendering the empty text. 2 1
REQUIREMENT_INFO drupal/core/includes/install.inc Requirement severity -- Informational message only. 3
REQUIREMENT_OK drupal/core/includes/install.inc Requirement severity -- Requirement successfully met. 2
REQUIREMENT_WARNING drupal/core/includes/install.inc Requirement severity -- Warning condition; proceed but flag warning. 12
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. 6
FILE_READABLE drupal/core/includes/install.inc File permission check -- File is readable. 7

Pages

Other projects