Constants

Primary tabs

Name Location Description Direct uses Stringssort ascending
MAINTENANCE_MODE drupal/core/update.php Global flag indicating that update.php is being run. 7 17
MAINTENANCE_MODE drupal/core/install.php Global flag to indicate the site is in installation mode. 7 17
MAINTENANCE_MODE drupal/core/authorize.php Global flag to identify update.php and authorize.php runs. 7 17
DRUPAL_ROOT drupal/index.php Root directory of Drupal installation. 136 7
DRUPAL_ROOT drupal/core/update.php Defines the root directory of the Drupal installation. 136 7
DRUPAL_ROOT drupal/core/install.php Defines the root directory of the Drupal installation. 136 7
DRUPAL_ROOT drupal/core/authorize.php Defines the root directory of the Drupal installation. 136 7
DRUPAL_ROOT drupal/core/modules/statistics/statistics.php Root directory of Drupal installation. 136 7
DRUPAL_ROOT drupal/core/modules/system/tests/http.php 136 7
DRUPAL_ROOT drupal/core/modules/system/tests/https.php 136 7
PREG_CLASS_UNICODE_WORD_BOUNDARY drupal/core/includes/unicode.inc Matches Unicode characters that are word boundaries. 3 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
REQUEST_TIME drupal/core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch. 130 1
MAIL_LINE_ENDINGS drupal/core/includes/mail.inc Auto-detect appropriate line endings for e-mails. 3 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. 9 1
MENU_LOCAL_TASK drupal/core/includes/menu.inc Menu type -- A task specific to the parent item, usually rendered as a tab. 30 1
MENU_DEFAULT_LOCAL_TASK drupal/core/includes/menu.inc Menu type -- The "default" local task, which is initially active. 32 1
MENU_LOCAL_ACTION drupal/core/includes/menu.inc Menu type -- An action specific to the parent, usually rendered as a link. 19 1
OPENID_DH_DEFAULT_MOD drupal/core/modules/openid/openid.inc Diffie-Hellman Key Exchange Default Value. 2 1
FIELD_LOAD_CURRENT drupal/core/modules/field/field.module Load the most recent version of an entity's field data. 14 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. 3 1
EMAIL_MAX_LENGTH drupal/core/modules/user/user.module Maximum length of user e-mail text field. 2 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
LOCALE_JS_OBJECT_CONTEXT drupal/core/modules/locale/locale.module Regular expression to match an object containing a key 'context'. 1 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 render_text() 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 render_text() 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 render_text() method for rendering the empty text. 2 1
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
REQUIRED_D7_SCHEMA_VERSION drupal/core/includes/update.inc Minimum schema version of Drupal 7 required for upgrade to Drupal 8. 1

Pages

Other projects