You are here

Constants in Drupal 10

Primary tabs

Namesort descending Location Description Direct uses Strings
COMMENT_NEW_LIMIT core/modules/comment/comment.module The time cutoff for comments marked as read for entity types other node. 1 1
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 (and their associated states and themes.) 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 CSS rules that style states and are not included with components. 1
CSS_THEME core/includes/common.inc The default weight for CSS rules that style themes and are not included with components. 1
DRUPAL_DISABLED core/modules/system/system.module Disabled option on forms and settings. 26
DRUPAL_EXTENSION_NAME_MAX_LENGTH core/includes/bootstrap.inc The maximum number of characters in a module or theme name. 6
DRUPAL_OPTIONAL core/modules/system/system.module Optional option on forms and settings. 27
DRUPAL_REQUIRED core/modules/system/system.module Required option on forms and settings. 13
DRUPAL_ROOT core/includes/bootstrap.inc Defines the root directory of the Drupal installation. 50 1
ENTITY_TEST_TYPES_MULTILINGUAL core/modules/system/tests/modules/entity_test/entity_test.module Filter that limits test entity list to multilingual ones. 5
ENTITY_TEST_TYPES_REVISABLE core/modules/system/tests/modules/entity_test/entity_test.module Filter that limits test entity list to revisable ones. 2
ENTITY_TEST_TYPES_ROUTING core/modules/system/tests/modules/entity_test/entity_test.module Filter that limits test entity list to routeable ones. 1
ERROR_REPORTING_DISPLAY_ALL core/includes/bootstrap.inc Error reporting level: display all messages. 5
ERROR_REPORTING_DISPLAY_SOME core/includes/bootstrap.inc Error reporting level: display errors and warnings. 2
ERROR_REPORTING_DISPLAY_VERBOSE core/includes/bootstrap.inc Error reporting level: display all messages, plus backtrace information. 12
ERROR_REPORTING_HIDE core/includes/bootstrap.inc Error reporting level: display no errors. 5
FILE_EXECUTABLE core/includes/install.inc File permission check -- File is executable. 3
FILE_EXIST core/includes/install.inc File permission check -- File exists. 5
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. 5
FILE_READABLE core/includes/install.inc File permission check -- File is readable. 6
FILE_URL_TEST_CDN_1 core/modules/file/tests/file_test/file_test.module 2
FILE_URL_TEST_CDN_2 core/modules/file/tests/file_test/file_test.module 3
FILE_WRITABLE core/includes/install.inc File permission check -- File is writable. 4
HISTORY_READ_LIMIT core/modules/history/history.module Entities changed before this time are always shown as read. 8 1
IMAGE_DERIVATIVE_TOKEN core/modules/image/image.module The name of the query parameter for image derivative tokens. 3 1
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
JSONAPI_FILTER_AMONG_ALL core/modules/jsonapi/jsonapi.module Array key for denoting type-based filtering access. 12
JSONAPI_FILTER_AMONG_ENABLED core/modules/jsonapi/jsonapi.module Array key for denoting type-based enabled-only filtering access. 4
JSONAPI_FILTER_AMONG_OWN core/modules/jsonapi/jsonapi.module Array key for denoting type-based owned-only filtering access. 6
JSONAPI_FILTER_AMONG_PUBLISHED core/modules/jsonapi/jsonapi.module Array key for denoting type-based published-only filtering access. 8
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
LOCALE_CUSTOMIZED core/modules/locale/locale.module Flag for locally customized interface translation. 7
LOCALE_JS_OBJECT core/modules/locale/locale.module Regular expression pattern used to match simple JS object literal. 1
LOCALE_JS_OBJECT_CONTEXT core/modules/locale/locale.module Regular expression to match an object containing a key 'context'. 1 1
LOCALE_JS_STRING core/modules/locale/locale.module Regular expression pattern used to localize JavaScript strings. 1
LOCALE_NOT_CUSTOMIZED core/modules/locale/locale.module Flag for locally not customized interface translation. 12
LOCALE_TRANSLATION_CURRENT core/modules/locale/locale.module Translation source is the current translation. 6
LOCALE_TRANSLATION_DEFAULT_SERVER_PATTERN core/modules/locale/locale.module Default location of gettext file on the translation server. 1

Pages

Other projects