Constants - 11.x - drupal | Drupal API
Skip to search
Can we use first and third party cookies and web beacons to
understand our audience, and to tailor promotions you see
Breadcrumb
Constants - 11.x - drupal
Primary tabs
main
11.x
10.3.x
9.5.x
8.9.x
7.x
Title
Deprecated
File name
Summary
Direct uses
Strings
COMMENT_NEW_LIMIT
core/
modules/
comment/
comment.module
The time cutoff for comments marked as read for entity types other node.
CSS_AGGREGATE_DEFAULT
core/
includes/
common.inc
The default aggregation group for CSS files added to the page.
CSS_AGGREGATE_THEME
core/
includes/
common.inc
The default aggregation group for theme CSS files added to the page.
CSS_BASE
core/
includes/
common.inc
The default weight for CSS rules that style HTML elements ("base" styles).
CSS_COMPONENT
core/
includes/
common.inc
The default weight for CSS rules that style design components.
CSS_LAYOUT
core/
includes/
common.inc
The default weight for CSS rules that layout a page.
CSS_STATE
core/
includes/
common.inc
The default weight for rules that style states not included with components.
CSS_THEME
core/
includes/
common.inc
The default weight for rules that style themes not included with components.
DRUPAL_DISABLED
in drupal:11.3.0 and is removed from drupal:13.0.0.
Instead, use the enums provided by the relevant modules.
core/
modules/
system/
system.module
Disabled option on forms and settings.
DRUPAL_EXTENSION_NAME_MAX_LENGTH
core/
includes/
bootstrap.inc
The maximum number of characters in a module or theme name.
DRUPAL_OPTIONAL
in drupal:11.3.0 and is removed from drupal:13.0.0.
Instead, use the enums provided by the relevant modules.
core/
modules/
system/
system.module
Optional option on forms and settings.
DRUPAL_REQUIRED
in drupal:11.3.0 and is removed from drupal:13.0.0.
Instead, use the enums provided by the relevant modules.
core/
modules/
system/
system.module
Required option on forms and settings.
DRUPAL_ROOT
core/
includes/
bootstrap.inc
Defines the root directory of the Drupal installation.
55
ERROR_REPORTING_DISPLAY_ALL
core/
includes/
bootstrap.inc
Error reporting level: display all messages.
ERROR_REPORTING_DISPLAY_SOME
core/
includes/
bootstrap.inc
Error reporting level: display errors and warnings.
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.
FILE_EXECUTABLE
core/
includes/
install.inc
File permission check -- File is executable.
FILE_EXIST
core/
includes/
install.inc
File permission check -- File exists.
FILE_NOT_EXECUTABLE
core/
includes/
install.inc
File permission check -- File is not executable.
FILE_NOT_EXIST
core/
includes/
install.inc
File permission check -- File does not exist.
FILE_NOT_READABLE
core/
includes/
install.inc
File permission check -- File is not readable.
FILE_NOT_WRITABLE
core/
includes/
install.inc
File permission check -- File is not writable.
FILE_READABLE
core/
includes/
install.inc
File permission check -- File is readable.
FILE_WRITABLE
core/
includes/
install.inc
File permission check -- File is writable.
HISTORY_READ_LIMIT
core/
modules/
history/
history.module
Entities changed before this time are always shown as read.
IMAGE_DERIVATIVE_TOKEN
in drupal:11.4.0 and is removed from drupal:13.0.0. Use
\Drupal\image\ImageStyleInterface::TOKEN instead.
core/
modules/
image/
image.module
The name of the query parameter for image derivative tokens.
INSTALL_TASK_RUN_IF_NOT_COMPLETED
core/
includes/
install.core.inc
Run the task on each installation request until the database is set up.
INSTALL_TASK_RUN_IF_REACHED
core/
includes/
install.core.inc
Run the task on each installation request that reaches it.
INSTALL_TASK_SKIP
core/
includes/
install.core.inc
Do not run the task during the current installation request.
JSONAPI_FILTER_AMONG_ALL
in drupal:11.3.0 and is removed from drupal:13.0.0. Use
\Drupal\jsonapi\JsonApiFilter::AMONG_ALL instead.
core/
modules/
jsonapi/
jsonapi.module
Array key for denoting type-based filtering access.
JSONAPI_FILTER_AMONG_ENABLED
in drupal:11.3.0 and is removed from drupal:13.0.0. Use
\Drupal\jsonapi\JsonApiFilter::AMONG_ENABLED instead.
core/
modules/
jsonapi/
jsonapi.module
Array key for denoting type-based enabled-only filtering access.
JSONAPI_FILTER_AMONG_OWN
in drupal:11.3.0 and is removed from drupal:13.0.0. Use
\Drupal\jsonapi\JsonApiFilter::AMONG_OWN instead.
core/
modules/
jsonapi/
jsonapi.module
Array key for denoting type-based owned-only filtering access.
JSONAPI_FILTER_AMONG_PUBLISHED
in drupal:11.3.0 and is removed from drupal:13.0.0. Use
\Drupal\jsonapi\JsonApiFilter::AMONG_PUBLISHED instead.
core/
modules/
jsonapi/
jsonapi.module
Array key for denoting type-based published-only filtering access.
JS_DEFAULT
core/
includes/
common.inc
The default group for module JavaScript code added to the page.
JS_LIBRARY
core/
includes/
common.inc
The default group for JavaScript and jQuery libraries added to the page.
JS_SETTING
core/
includes/
common.inc
The default group for JavaScript settings added to the page.
JS_THEME
core/
includes/
common.inc
The default group for theme JavaScript code added to the page.
LOCALE_CUSTOMIZED
core/
modules/
locale/
locale.module
Flag for locally customized interface translation.
LOCALE_JS_OBJECT
core/
modules/
locale/
locale.module
Regular expression pattern used to match simple JS object literal.
LOCALE_JS_OBJECT_CONTEXT
core/
modules/
locale/
locale.module
Regular expression to match an object containing a key 'context'.
LOCALE_JS_STRING
core/
modules/
locale/
locale.module
Regular expression pattern used to localize JavaScript strings.
LOCALE_NOT_CUSTOMIZED
core/
modules/
locale/
locale.module
Flag for locally not customized interface translation.
10
LOCALE_TRANSLATION_CURRENT
core/
modules/
locale/
locale.module
Translation source is the current translation.
LOCALE_TRANSLATION_DEFAULT_SERVER_PATTERN
in drupal:11.2.0 and is removed from drupal:12.0.0. Use
\Drupal::TRANSLATION_DEFAULT_SERVER_PATTERN instead.
core/
modules/
locale/
locale.module
Default location of gettext file on the translation server.
LOCALE_TRANSLATION_LOCAL
core/
modules/
locale/
locale.module
Translation source is a local file.
10
LOCALE_TRANSLATION_OVERWRITE_ALL
core/
modules/
locale/
locale.module
UI option for override of existing translations. Override any translation.
LOCALE_TRANSLATION_OVERWRITE_NONE
core/
modules/
locale/
locale.module
UI option for override of existing translations.
LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED
core/
modules/
locale/
locale.module
UI option for override of existing translations.
LOCALE_TRANSLATION_REMOTE
core/
modules/
locale/
locale.module
Translation source is a remote file.
Other projects
Buggy or inaccurate documentation?
Please
file an issue
. Need
support
? Need help programming? Connect with the
Drupal community
Search drupal 11.x
API Navigation
drupal 11.x
Topics
Classes
Functions
Constants
Globals
Files
Namespaces
Deprecated
Services
Elements
US