Constants - 9.5.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
COMMENT_NEW_LIMIT | core/ |
The time cutoff for comments marked as read for entity types other node. | 1 | 1 | |
CSS_AGGREGATE_DEFAULT | core/ |
The default aggregation group for CSS files added to the page. | 2 | 2 | |
CSS_AGGREGATE_THEME | core/ |
The default aggregation group for theme CSS files added to the page. | 1 | 1 | |
CSS_BASE | core/ |
The default weight for CSS rules that style HTML elements ("base" styles). | 1 | ||
CSS_COMPONENT | core/ |
The default weight for CSS rules that style design components (and their associated states and themes.) | 1 | ||
CSS_LAYOUT | core/ |
The default weight for CSS rules that layout a page. | 1 | ||
CSS_STATE | core/ |
The default weight for CSS rules that style states and are not included with components. | 1 | ||
CSS_THEME | core/ |
The default weight for CSS rules that style themes and are not included with components. | 1 | ||
DRUPAL_DISABLED | core/ |
Disabled option on forms and settings. | 24 | ||
DRUPAL_EXTENSION_NAME_MAX_LENGTH | core/ |
The maximum number of characters in a module or theme name. | 6 | ||
DRUPAL_MINIMUM_PHP | in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal::MINIMUM_PHP instead. |
core/ |
Minimum allowed version of PHP for Drupal to be bootstrapped. | 1 | |
DRUPAL_MINIMUM_PHP_MEMORY_LIMIT | in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal::MINIMUM_PHP_MEMORY_LIMIT instead. |
core/ |
Minimum recommended value of PHP memory_limit. | ||
DRUPAL_MINIMUM_SUPPORTED_PHP | in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Utility\PhpRequirements::getMinimumSupportedPhp() instead. |
core/ |
Minimum supported version of PHP. | ||
DRUPAL_OPTIONAL | core/ |
Optional option on forms and settings. | 22 | ||
DRUPAL_RECOMMENDED_PHP | in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal::RECOMMENDED_PHP instead. |
core/ |
Minimum recommended version of PHP. | ||
DRUPAL_REQUIRED | core/ |
Required option on forms and settings. | 13 | ||
DRUPAL_ROOT | core/ |
Defines the root directory of the Drupal installation. | 53 | 5 | |
ENTITY_TEST_TYPES_MULTILINGUAL | core/ |
Filter that limits test entity list to multilingual ones. | 6 | ||
ENTITY_TEST_TYPES_REVISABLE | core/ |
Filter that limits test entity list to revisable ones. | 3 | ||
ENTITY_TEST_TYPES_ROUTING | core/ |
Filter that limits test entity list to routeable ones. | 3 | ||
ERROR_REPORTING_DISPLAY_ALL | core/ |
Error reporting level: display all messages. | 3 | ||
ERROR_REPORTING_DISPLAY_SOME | core/ |
Error reporting level: display errors and warnings. | 1 | ||
ERROR_REPORTING_DISPLAY_VERBOSE | core/ |
Error reporting level: display all messages, plus backtrace information. | 10 | ||
ERROR_REPORTING_HIDE | core/ |
Error reporting level: display no errors. | 2 | ||
FILE_EXECUTABLE | core/ |
File permission check -- File is executable. | 3 | ||
FILE_EXIST | core/ |
File permission check -- File exists. | 6 | ||
FILE_INSECURE_EXTENSION_REGEX | in drupal:9.2.0 and is removed from drupal:10.0.0. Use \Drupal\Core\File\FileSystemInterface::INSECURE_EXTENSION_REGEX. |
core/ |
The regex pattern used when checking for insecure file types. | 1 | |
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. | 7 | ||
FILE_STATUS_PERMANENT | in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\file\FileInterface::STATUS_PERMANENT or \Drupal\file\FileInterface::setPermanent() instead. |
core/ |
Indicates that the file is permanent and should not be deleted. | ||
FILE_URL_TEST_CDN_1 | core/ |
2 | |||
FILE_URL_TEST_CDN_2 | core/ |
3 | |||
FILE_WRITABLE | core/ |
File permission check -- File is writable. | 4 | ||
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 | |
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 |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.