Constants - 8.9.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
FILE_NOT_EXECUTABLE | core/ |
File permission check -- File is not executable. | 3 | ||
FILE_NOT_EXIST | core/ |
File permission check -- File does not exist. | 1 | ||
FILE_NOT_READABLE | core/ |
File permission check -- File is not readable. | 3 | ||
FILE_NOT_WRITABLE | core/ |
File permission check -- File is not writable. | 6 | ||
FILE_READABLE | core/ |
File permission check -- File is readable. | 8 | ||
FILE_STATUS_PERMANENT | core/ |
Indicates that the file is permanent and should not be deleted. | 23 | ||
FILE_URL_TEST_CDN_1 | core/ |
2 | |||
FILE_URL_TEST_CDN_2 | core/ |
3 | |||
FILE_WRITABLE | core/ |
File permission check -- File is writable. | 5 | ||
HISTORY_READ_LIMIT | core/ |
Entities changed before this time are always shown as read. | 6 | 1 | |
IMAGE_DERIVATIVE_TOKEN | core/ |
The name of the query parameter for image derivative tokens. | 2 | 1 | |
IMAGE_STORAGE_DEFAULT | in drupal:8.1.0 and is removed from drupal:9.0.0. |
core/ |
Image style constant for module-defined presets in code. | 1 | |
IMAGE_STORAGE_EDITABLE | in drupal:8.1.0 and is removed from drupal:9.0.0. |
core/ |
Image style constant to represent an editable preset. | 1 | |
IMAGE_STORAGE_MODULE | in drupal:8.1.0 and is removed from drupal:9.0.0. |
core/ |
Image style constant to represent any module-based preset. | 1 | |
IMAGE_STORAGE_NORMAL | in drupal:8.1.0 and is removed from drupal:9.0.0. |
core/ |
Image style constant for user presets in the database. | 1 | |
IMAGE_STORAGE_OVERRIDE | in drupal:8.1.0 and is removed from drupal:9.0.0. |
core/ |
Image style constant for user presets that override module-defined presets. | 1 | |
INSTALL_TASK_RUN_IF_NOT_COMPLETED | core/ |
Run the task on each installation request until the database is set up. | 3 | ||
INSTALL_TASK_RUN_IF_REACHED | core/ |
Run the task on each installation request that reaches it. | 2 | ||
INSTALL_TASK_SKIP | core/ |
Do not run the task during the current installation request. | 3 | ||
JSONAPI_FILTER_AMONG_ALL | core/ |
Array key for denoting type-based filtering access. | |||
JSONAPI_FILTER_AMONG_ENABLED | core/ |
Array key for denoting type-based enabled-only filtering access. | |||
JSONAPI_FILTER_AMONG_OWN | core/ |
Array key for denoting type-based owned-only filtering access. | |||
JSONAPI_FILTER_AMONG_PUBLISHED | core/ |
Array key for denoting type-based published-only filtering access. | |||
JS_DEFAULT | core/ |
The default group for module JavaScript code added to the page. | 2 | 2 | |
JS_LIBRARY | core/ |
The default group for JavaScript and jQuery libraries added to the page. | 1 | 1 | |
JS_SETTING | core/ |
The default group for JavaScript settings added to the page. | 1 | 1 | |
JS_THEME | core/ |
The default group for theme JavaScript code added to the page. | 1 | ||
LOCALE_CUSTOMIZED | core/ |
Flag for locally customized interface translation. | 5 | ||
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_PLURAL_DELIMITER | in drupal:8.0.0 and is removed from drupal:9.0.0. Use Drupal\Component\Gettext\PoItem::DELIMITER instead. |
core/ |
The delimiter used to split plural strings. | ||
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. Don't override existing translations. | 3 | ||
LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED | core/ |
UI option for override of existing translations. Only override non-customized 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 identify update.php and authorize.php runs. | 5 | 18 | |
MAINTENANCE_MODE | core/ |
Global flag to indicate the site is in installation mode. | 5 | 18 | |
MARK_NEW | core/ |
Mark content as being new. | 3 | ||
MARK_READ | core/ |
Mark content as read. | 2 |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.