Constants

Primary tabs

Name Location Description Direct uses Stringssort ascending
MAINTENANCE_MODE drupal/authorize.php Global flag to identify update.php and authorize.php runs. 10 20
MAINTENANCE_MODE drupal/install.php Global flag to indicate the site is in installation mode. 10 20
MAINTENANCE_MODE drupal/update.php Global flag indicating that update.php is being run. 10 20
DRUPAL_ROOT drupal/authorize.php Defines the root directory of the Drupal installation. 162 9
DRUPAL_ROOT drupal/install.php Defines the root directory of the Drupal installation. 162 9
DRUPAL_ROOT drupal/update.php Defines the root directory of the Drupal installation. 162 9
DRUPAL_ROOT drupal/xmlrpc.php Root directory of Drupal installation. 162 9
DRUPAL_ROOT drupal/index.php Root directory of Drupal installation. 162 9
DRUPAL_ROOT drupal/cron.php Root directory of Drupal installation. 162 9
DRUPAL_ROOT drupal/modules/simpletest/tests/http.php 162 9
DRUPAL_ROOT drupal/modules/simpletest/tests/https.php 162 9
DRUPAL_ROOT drupal/modules/statistics/statistics.php Root directory of Drupal installation. 162 9
UNICODE_ERROR drupal/includes/unicode.inc Indicates an error during check for PHP unicode support. 1 1
UNICODE_SINGLEBYTE drupal/includes/unicode.inc Indicates that standard PHP (emulated) unicode support is being used. 3 1
UNICODE_MULTIBYTE drupal/includes/unicode.inc Indicates that full unicode support with the PHP mbstring extension is being used. 6 1
PREG_CLASS_UNICODE_WORD_BOUNDARY drupal/includes/unicode.inc Matches Unicode characters that are word boundaries. 3 1
MAIL_LINE_ENDINGS drupal/includes/mail.inc Auto-detect appropriate line endings for e-mails. 3 1
SCHEMA_UNINSTALLED drupal/includes/install.inc Indicates that a module has not been installed yet. 8 1
SCHEMA_INSTALLED drupal/includes/install.inc Indicates that a module has been installed. 3 1
REQUIREMENT_INFO drupal/includes/install.inc Requirement severity -- Informational message only. 6 1
REQUIREMENT_OK drupal/includes/install.inc Requirement severity -- Requirement successfully met. 9 1
REQUIREMENT_WARNING drupal/includes/install.inc Requirement severity -- Warning condition; proceed but flag warning. 13 1
REQUIREMENT_ERROR drupal/includes/install.inc Requirement severity -- Error condition; abort installation. 21 1
FILE_EXIST drupal/includes/install.inc File permission check -- File exists. 5 1
FILE_READABLE drupal/includes/install.inc File permission check -- File is readable. 7 1
FILE_WRITABLE drupal/includes/install.inc File permission check -- File is writable. 5 1
FILE_EXECUTABLE drupal/includes/install.inc File permission check -- File is executable. 3 1
FILE_NOT_EXIST drupal/includes/install.inc File permission check -- File does not exist. 1 1
FILE_NOT_READABLE drupal/includes/install.inc File permission check -- File is not readable. 3 1
FILE_NOT_WRITABLE drupal/includes/install.inc File permission check -- File is not writable. 5 1
FILE_NOT_EXECUTABLE drupal/includes/install.inc File permission check -- File is not executable. 3 1
REQUIRED_D6_SCHEMA_VERSION drupal/includes/update.inc Minimum schema version of Drupal 6 required for upgrade to Drupal 7. 1 1
DRUPAL_HASH_COUNT drupal/includes/password.inc The standard log2 number of iterations for password stretching. This should increase by 1 every Drupal version in order to counteract increases in the speed and power of computers available to crack the hashes. 3 1
DRUPAL_MIN_HASH_COUNT drupal/includes/password.inc The minimum allowed log2 number of iterations for password stretching. 3 1
DRUPAL_MAX_HASH_COUNT drupal/includes/password.inc The maximum allowed log2 number of iterations for password stretching. 2 1
DRUPAL_HASH_LENGTH drupal/includes/password.inc The expected (and maximum) number of characters in a hashed password. 2 1
LOCALE_LANGUAGE_NEGOTIATION_URL drupal/includes/locale.inc The language is determined using a URL language indicator: path prefix or domain according to the configuration. 5 1
LOCALE_LANGUAGE_NEGOTIATION_BROWSER drupal/includes/locale.inc The language is set based on the browser language settings. 2 1
LOCALE_LANGUAGE_NEGOTIATION_INTERFACE drupal/includes/locale.inc The language is determined using the current interface language. 2 1
LOCALE_LANGUAGE_NEGOTIATION_URL_FALLBACK drupal/includes/locale.inc If no URL language is available language is determined using an already detected one. 1 1
LOCALE_LANGUAGE_NEGOTIATION_USER drupal/includes/locale.inc The language is set based on the user language settings. 1 1
LOCALE_LANGUAGE_NEGOTIATION_SESSION drupal/includes/locale.inc The language is set based on the request/session parameters. 1 1
LOCALE_JS_STRING drupal/includes/locale.inc Regular expression pattern used to localize JavaScript strings. 1 1
LOCALE_JS_OBJECT drupal/includes/locale.inc Regular expression pattern used to match simple JS object literal. 1 1
LOCALE_JS_OBJECT_CONTEXT drupal/includes/locale.inc Regular expression to match an object containing a key 'context'. 1 1
LOCALE_IMPORT_OVERWRITE drupal/includes/locale.inc Translation import mode overwriting all existing translations if new translated version available. 1 1
LOCALE_IMPORT_KEEP drupal/includes/locale.inc Translation import mode keeping existing translations and only inserting new strings. 3 1
LOCALE_LANGUAGE_NEGOTIATION_URL_PREFIX drupal/includes/locale.inc URL language negotiation: use the path prefix as URL language indicator. 7 1
LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN drupal/includes/locale.inc URL language negotiation: use the domain as URL language indicator. 5 1
FILE_CREATE_DIRECTORY drupal/includes/file.inc Flag used by file_prepare_directory() -- create directory if not present. 22 1

Pages

Other projects