Constants - 11.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
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. | 1 | ||
CSS_LAYOUT | core/ |
The default weight for CSS rules that layout a page. | 1 | ||
CSS_STATE | core/ |
The default weight for rules that style states not included with components. | 1 | ||
CSS_THEME | core/ |
The default weight for rules that style themes not included with components. | 1 | ||
DRUPAL_EXTENSION_NAME_MAX_LENGTH | core/ |
The maximum number of characters in a module or theme name. | 6 | ||
DRUPAL_ROOT | core/ |
Defines the root directory of the Drupal installation. | 62 | 7 | |
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_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_WRITABLE | core/ |
File permission check -- File is writable. | 4 | ||
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 | ||
JS_DEFAULT | core/ |
The default group for module JavaScript code added to the page. | 1 | 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 | ||
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 | ||
REQUIREMENT_ERROR | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::Error instead. |
core/ |
Requirement severity -- Error condition; abort installation. | 7 | |
REQUIREMENT_INFO | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::Info instead. |
core/ |
Requirement severity -- Informational message only. | 4 | |
REQUIREMENT_OK | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::OK instead. |
core/ |
Requirement severity -- Requirement successfully met. | 3 | |
REQUIREMENT_WARNING | in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Extension\Requirement\RequirementSeverity::Warning instead. |
core/ |
Requirement severity -- Warning condition; proceed but flag warning. | 3 | |
RESPONSIVE_PRIORITY_LOW | core/ |
A responsive table class; only show table cell on wide devices. | 9 | ||
RESPONSIVE_PRIORITY_MEDIUM | core/ |
A responsive table class; hide table cell on narrow devices. | 16 | ||
SAVED_DELETED | in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. |
core/ |
Return status for saving which deleted an existing item. | ||
SAVED_NEW | core/ |
Return status for saving which involved creating a new item. | 24 | 2 | |
SAVED_UPDATED | core/ |
Return status for saving which involved an update to an existing item. | 29 | 2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.