Constants - 7.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
HTTP_REQUEST_TIMEOUT | includes/ |
Error code indicating that the request exceeded the specified timeout. | 2 | 1 | |
IMAGE_DERIVATIVE_TOKEN | modules/ |
The name of the query parameter for image derivative tokens. | 1 | 1 | |
IMAGE_STORAGE_DEFAULT | modules/ |
Image style constant for module-defined presets in code. | 3 | 1 | |
IMAGE_STORAGE_EDITABLE | modules/ |
Image style constant to represent an editable preset. | 2 | 1 | |
IMAGE_STORAGE_MODULE | modules/ |
Image style constant to represent any module-based preset. | 1 | ||
IMAGE_STORAGE_NORMAL | modules/ |
Image style constant for user presets in the database. | 3 | 1 | |
IMAGE_STORAGE_OVERRIDE | modules/ |
Image style constant for user presets that override module-defined presets. | 3 | 1 | |
INSTALL_TASK_RUN_IF_NOT_COMPLETED | includes/ |
Global flag to indicate that a task should be run on each installation request that reaches it, until the database is set up and we are able to record the fact that it already ran. | 3 | 1 | |
INSTALL_TASK_RUN_IF_REACHED | includes/ |
Run the task on each installation request until the database is set up. | 2 | 1 | |
INSTALL_TASK_SKIP | includes/ |
Do not run the task during the current installation request. | 3 | 1 | |
JS_DEFAULT | includes/ |
The default group for module JavaScript code added to the page. | 2 | 1 | |
JS_LIBRARY | includes/ |
The default group for JavaScript and jQuery libraries added to the page. | 4 | 1 | |
JS_THEME | includes/ |
The default group for theme JavaScript code added to the page. | 2 | 1 | |
LANGUAGE_LTR | includes/ |
Language written left to right. Possible value of $language->direction. | 10 | 1 | |
LANGUAGE_NEGOTIATION_DEFAULT | includes/ |
No language negotiation. The default language is used. | 7 | 1 | |
LANGUAGE_NONE | includes/ |
The language code used when no language is explicitly assigned. | 159 | 1 | |
LANGUAGE_RTL | includes/ |
Language written right to left. Possible value of $language->direction. | 6 | 1 | |
LANGUAGE_TYPE_CONTENT | includes/ |
The type of language used to define the content language. | 7 | 1 | |
LANGUAGE_TYPE_INTERFACE | includes/ |
The type of language used to select the user interface. | 14 | 1 | |
LANGUAGE_TYPE_URL | includes/ |
The type of language used for URLs. | 4 | 1 | |
LOCALE_IMPORT_KEEP | includes/ |
Translation import mode keeping existing translations and only inserting new strings. | 3 | 1 | |
LOCALE_IMPORT_OVERWRITE | includes/ |
Translation import mode overwriting all existing translations if new translated version available. | 1 | 1 | |
LOCALE_JS_OBJECT | includes/ |
Regular expression pattern used to match simple JS object literal. | 1 | 1 | |
LOCALE_JS_OBJECT_CONTEXT | includes/ |
Regular expression to match an object containing a key 'context'. | 1 | 1 | |
LOCALE_JS_STRING | includes/ |
Regular expression pattern used to localize JavaScript strings. | 1 | 1 | |
LOCALE_LANGUAGE_NEGOTIATION_BROWSER | includes/ |
The language is set based on the browser language settings. | 2 | 1 | |
LOCALE_LANGUAGE_NEGOTIATION_INTERFACE | includes/ |
The language is determined using the current interface language. | 2 | 1 | |
LOCALE_LANGUAGE_NEGOTIATION_SESSION | includes/ |
The language is set based on the request/session parameters. | 1 | 1 | |
LOCALE_LANGUAGE_NEGOTIATION_URL | includes/ |
The language is determined using a URL language indicator: path prefix or domain according to the configuration. | 5 | 1 | |
LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN | includes/ |
URL language negotiation: use the domain as URL language indicator. | 5 | 1 | |
LOCALE_LANGUAGE_NEGOTIATION_URL_FALLBACK | includes/ |
If no URL language is available language is determined using an already detected one. | 1 | 1 | |
LOCALE_LANGUAGE_NEGOTIATION_URL_PREFIX | includes/ |
URL language negotiation: use the path prefix as URL language indicator. | 7 | 1 | |
LOCALE_LANGUAGE_NEGOTIATION_USER | includes/ |
The language is set based on the user language settings. | 1 | 1 | |
MAIL_LINE_ENDINGS | includes/ |
Auto-detect appropriate line endings for e-mails. | 3 | 3 | |
MAIL_RFC_2822_SPECIALS | includes/ |
Special characters, defined in RFC_2822. | 1 | 1 | |
MAINTENANCE_MODE | ./ |
Global flag to identify update.php and authorize.php runs. | 8 | 32 | |
MAINTENANCE_MODE | ./ |
Global flag indicating that update.php is being run. | 8 | 32 | |
MAINTENANCE_MODE | ./ |
Global flag to indicate the site is in installation mode. | 8 | 32 | |
MARK_NEW | includes/ |
Mark content as being new. | 3 | 1 | |
MARK_READ | includes/ |
Mark content as read. | 2 | 1 | |
MARK_UPDATED | includes/ |
Mark content as being updated. | 2 | 1 | |
MENU_ACCESS_DENIED | includes/ |
Menu status code -- Access denied. | 19 | 1 | |
MENU_CALLBACK | includes/ |
Menu type -- A hidden, internal callback, typically used for API calls. | 36 | 1 | |
MENU_CONTEXT_INLINE | includes/ |
Internal menu flag: Local task should be displayed inline. | 4 | 1 | |
MENU_CONTEXT_NONE | includes/ |
Internal menu flag: Invisible local task. | 2 | 1 | |
MENU_CONTEXT_PAGE | includes/ |
Internal menu flag: Local task should be displayed in page context. | 4 | 1 | |
MENU_CREATED_BY_ADMIN | includes/ |
Internal menu flag -- menu item was created by administrator. | 1 | ||
MENU_DEFAULT_LOCAL_TASK | includes/ |
Menu type -- The "default" local task, which is initially active. | 22 | 1 | |
MENU_FOUND | includes/ |
Internal menu status code -- Menu item was found. | 1 | ||
MENU_IS_LOCAL_ACTION | includes/ |
Internal menu flag -- menu item is a local action. | 1 | 1 |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.