Constants - 9.5.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
LOCALE_JS_OBJECT | core/ |
Regular expression pattern used to match simple JS object literal. | 1 | ||
LOCALE_JS_OBJECT_CONTEXT | core/ |
Regular expression to match an object containing a key 'context'. | 1 | 1 | |
LOCALE_JS_STRING | core/ |
Regular expression pattern used to localize JavaScript strings. | 1 | ||
LOCALE_NOT_CUSTOMIZED | core/ |
Flag for locally not customized interface translation. | 10 | ||
LOCALE_TRANSLATION_CURRENT | core/ |
Translation source is the current translation. | 6 | ||
LOCALE_TRANSLATION_DEFAULT_SERVER_PATTERN | core/ |
Default location of gettext file on the translation server. | 1 | ||
LOCALE_TRANSLATION_LOCAL | core/ |
Translation source is a local file. | 10 | ||
LOCALE_TRANSLATION_OVERWRITE_ALL | core/ |
UI option for override of existing translations. Override any translation. | 4 | ||
LOCALE_TRANSLATION_OVERWRITE_NONE | core/ |
UI option for override of existing translations. | 3 | ||
LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED | core/ |
UI option for override of existing translations. | 3 | ||
LOCALE_TRANSLATION_REMOTE | core/ |
Translation source is a remote file. | 8 | ||
LOCALE_TRANSLATION_SOURCE_COMPARE_EQ | core/ |
Comparison result of source files timestamps. | 1 | ||
LOCALE_TRANSLATION_SOURCE_COMPARE_GT | core/ |
Comparison result of source files timestamps. | 1 | ||
LOCALE_TRANSLATION_SOURCE_COMPARE_LT | core/ |
Comparison result of source files timestamps. | 2 | ||
LOCALE_TRANSLATION_STATUS_TTL | core/ |
The number of seconds that the translations status entry should be considered. | 1 | ||
LOCALE_TRANSLATION_USE_SOURCE_LOCAL | core/ |
Translation update mode: Use local files only. | 3 | ||
LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL | core/ |
Translation update mode: Use both remote and local files. | 5 | ||
MAINTENANCE_MODE | core/ |
Global flag to indicate the site is in installation mode. | 5 | 20 | |
MAINTENANCE_MODE | core/ |
Global flag to identify update.php and authorize.php runs. | 5 | 20 | |
MARK_NEW | core/ |
Mark content as being new. | 3 | ||
MARK_READ | core/ |
Mark content as read. | 2 | ||
MARK_UPDATED | core/ |
Mark content as being updated. | 2 | ||
MODULE_AUTOLOAD_TEST_CONSTANT | core/ |
1 | 2 | ||
PREG_CLASS_CJK | in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\search\SearchTextProcessorInterface::PREG_CLASS_CJK instead. |
core/ |
Matches CJK (Chinese, Japanese, Korean) letter-like characters. | 1 | 1 |
PREG_CLASS_NUMBERS | in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\search\SearchTextProcessorInterface::PREG_CLASS_NUMBERS instead. |
core/ |
Matches all 'N' Unicode character classes (numbers) | 1 | |
PREG_CLASS_PUNCTUATION | in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\search\SearchTextProcessorInterface::PREG_CLASS_PUNCTUATION instead. |
core/ |
Matches all 'P' Unicode character classes (punctuation) | 1 | |
REGIONS_ALL | core/ |
Return all regions. | 1 | ||
REGIONS_VISIBLE | core/ |
Return only visible regions. | 7 | ||
REQUEST_TIME | in drupal:8.3.0 and is removed from drupal:11.0.0. Use \Drupal::time()->getRequestTime(); |
core/ |
Time of the current request in seconds elapsed since the Unix Epoch. | 116 | 29 |
REQUIREMENT_ERROR | core/ |
Requirement severity -- Error condition; abort installation. | 27 | ||
REQUIREMENT_INFO | core/ |
Requirement severity -- Informational message only. | 11 | ||
REQUIREMENT_OK | core/ |
Requirement severity -- Requirement successfully met. | 5 | ||
REQUIREMENT_WARNING | core/ |
Requirement severity -- Warning condition; proceed but flag warning. | 23 | ||
RESPONSIVE_PRIORITY_LOW | core/ |
A responsive table class; only show table cell on wide devices. | 8 | ||
RESPONSIVE_PRIORITY_MEDIUM | core/ |
A responsive table class; hide table cell on narrow devices. | 13 | ||
SAVED_DELETED | core/ |
Return status for saving which deleted an existing item. | |||
SAVED_NEW | core/ |
Return status for saving which involved creating a new item. | 23 | 2 | |
SAVED_UPDATED | core/ |
Return status for saving which involved an update to an existing item. | 28 | 2 | |
SCHEMA_UNINSTALLED | in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Update\UpdateHookRegistry::SCHEMA_UNINSTALLED constant instead. |
core/ |
Indicates that a module has not been installed yet. |
Pagination
- Previous page
- Page 2
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.