Constants - 11.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
CSS_AGGREGATE_DEFAULT core/includes/common.inc The default aggregation group for CSS files added to the page. 2 2
CSS_AGGREGATE_THEME core/includes/common.inc The default aggregation group for theme CSS files added to the page. 1 1
CSS_BASE core/includes/common.inc The default weight for CSS rules that style HTML elements ("base" styles). 1
CSS_COMPONENT core/includes/common.inc The default weight for CSS rules that style design components. 1
CSS_LAYOUT core/includes/common.inc The default weight for CSS rules that layout a page. 1
CSS_STATE core/includes/common.inc The default weight for rules that style states not included with components. 1
CSS_THEME core/includes/common.inc The default weight for rules that style themes not included with components. 1
DRUPAL_EXTENSION_NAME_MAX_LENGTH core/includes/bootstrap.inc The maximum number of characters in a module or theme name. 6
DRUPAL_ROOT core/includes/bootstrap.inc Defines the root directory of the Drupal installation. 62 7
ERROR_REPORTING_DISPLAY_ALL core/includes/bootstrap.inc Error reporting level: display all messages. 3
ERROR_REPORTING_DISPLAY_SOME core/includes/bootstrap.inc Error reporting level: display errors and warnings. 1
ERROR_REPORTING_DISPLAY_VERBOSE core/includes/bootstrap.inc Error reporting level: display all messages, plus backtrace information. 10
ERROR_REPORTING_HIDE core/includes/bootstrap.inc Error reporting level: display no errors. 2
FILE_EXECUTABLE core/includes/install.inc File permission check -- File is executable. 3
FILE_EXIST core/includes/install.inc File permission check -- File exists. 6
FILE_NOT_EXECUTABLE core/includes/install.inc File permission check -- File is not executable. 3
FILE_NOT_EXIST core/includes/install.inc File permission check -- File does not exist. 1
FILE_NOT_READABLE core/includes/install.inc File permission check -- File is not readable. 3
FILE_NOT_WRITABLE core/includes/install.inc File permission check -- File is not writable. 6
FILE_READABLE core/includes/install.inc File permission check -- File is readable. 7
FILE_WRITABLE core/includes/install.inc File permission check -- File is writable. 4
INSTALL_TASK_RUN_IF_NOT_COMPLETED core/includes/install.core.inc Run the task on each installation request until the database is set up. 3
INSTALL_TASK_RUN_IF_REACHED core/includes/install.core.inc Run the task on each installation request that reaches it. 2
INSTALL_TASK_SKIP core/includes/install.core.inc Do not run the task during the current installation request. 3
JS_DEFAULT core/includes/common.inc The default group for module JavaScript code added to the page. 1 2
JS_LIBRARY core/includes/common.inc The default group for JavaScript and jQuery libraries added to the page. 1 1
JS_SETTING core/includes/common.inc The default group for JavaScript settings added to the page. 1 1
JS_THEME core/includes/common.inc The default group for theme JavaScript code added to the page. 1
MARK_NEW core/includes/theme.inc Mark content as being new. 3
MARK_READ core/includes/theme.inc Mark content as read. 2
MARK_UPDATED core/includes/theme.inc 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/includes/install.inc 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/includes/install.inc 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/includes/install.inc 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/includes/install.inc Requirement severity -- Warning condition; proceed but flag warning. 3
RESPONSIVE_PRIORITY_LOW core/includes/theme.inc A responsive table class; only show table cell on wide devices. 9
RESPONSIVE_PRIORITY_MEDIUM core/includes/theme.inc 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/includes/common.inc Return status for saving which deleted an existing item.
SAVED_NEW core/includes/common.inc Return status for saving which involved creating a new item. 24 2
SAVED_UPDATED core/includes/common.inc Return status for saving which involved an update to an existing item. 29 2

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.