Constants

Primary tabs

Name Locationsort descending Description Direct uses Strings
MENU_VISIBLE_IN_BREADCRUMB drupal/includes/menu.inc Internal menu flag -- menu item is visible in the breadcrumb. 8 1
MENU_LINKS_TO_PARENT drupal/includes/menu.inc Internal menu flag -- menu item links back to its parent. 3 1
MENU_MODIFIED_BY_ADMIN drupal/includes/menu.inc Internal menu flag -- menu item can be modified by administrator. 1
MENU_CREATED_BY_ADMIN drupal/includes/menu.inc Internal menu flag -- menu item was created by administrator. 1
MENU_IS_LOCAL_TASK drupal/includes/menu.inc Internal menu flag -- menu item is a local task. 3 1
MENU_IS_LOCAL_ACTION drupal/includes/menu.inc Internal menu flag -- menu item is a local action. 1 1
MENU_NORMAL_ITEM drupal/includes/menu.inc Menu type -- A "normal" menu item that's shown in menu and breadcrumbs. 4 1
MENU_CALLBACK drupal/includes/menu.inc Menu type -- A hidden, internal callback, typically used for API calls. 36 1
MENU_SUGGESTED_ITEM drupal/includes/menu.inc Menu type -- A normal menu item, hidden until enabled by an administrator. 11 1
MENU_LOCAL_TASK drupal/includes/menu.inc Menu type -- A task specific to the parent item, usually rendered as a tab. 25 1
MENU_DEFAULT_LOCAL_TASK drupal/includes/menu.inc Menu type -- The "default" local task, which is initially active. 22 1
MENU_LOCAL_ACTION drupal/includes/menu.inc Menu type -- An action specific to the parent, usually rendered as a link. 16 1
MENU_CONTEXT_NONE drupal/includes/menu.inc Internal menu flag: Invisible local task. 2 1
MENU_CONTEXT_PAGE drupal/includes/menu.inc Internal menu flag: Local task should be displayed in page context. 4 1
MENU_CONTEXT_INLINE drupal/includes/menu.inc Internal menu flag: Local task should be displayed inline. 4 1
MENU_FOUND drupal/includes/menu.inc Internal menu status code -- Menu item was found. 1
MENU_NOT_FOUND drupal/includes/menu.inc Menu status code -- Not found. 15 1
MENU_ACCESS_DENIED drupal/includes/menu.inc Menu status code -- Access denied. 18 1
MENU_SITE_OFFLINE drupal/includes/menu.inc Internal menu status code -- Menu item inaccessible because site is offline. 9 1
MENU_SITE_ONLINE drupal/includes/menu.inc Internal menu status code -- Everything is working fine. 6 1
MENU_MAX_PARTS drupal/includes/menu.inc The maximum number of path elements for a menu callback 4 1
MENU_MAX_DEPTH drupal/includes/menu.inc The maximum depth of a menu links tree - matches the number of p columns. 16 1
MENU_PREFERRED_LINK drupal/includes/menu.inc Reserved key to identify the most specific menu link for a given path. 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
STREAM_WRAPPERS_ALL drupal/includes/stream_wrappers.inc Stream wrapper bit flag -- a filter that matches all wrappers. 1
STREAM_WRAPPERS_LOCAL drupal/includes/stream_wrappers.inc Stream wrapper bit flag -- refers to a local file system location. 3 1
STREAM_WRAPPERS_READ drupal/includes/stream_wrappers.inc Stream wrapper bit flag -- wrapper is readable (almost always true). 1 1
STREAM_WRAPPERS_WRITE drupal/includes/stream_wrappers.inc Stream wrapper bit flag -- wrapper is writeable. 1 1
STREAM_WRAPPERS_VISIBLE drupal/includes/stream_wrappers.inc Stream wrapper bit flag -- exposed in the UI and potentially web accessible. 1 1
STREAM_WRAPPERS_HIDDEN drupal/includes/stream_wrappers.inc Stream wrapper type flag -- not visible in the UI or accessible via web, but readable and writable. E.g. the temporary directory for uploads. 1 1
STREAM_WRAPPERS_LOCAL_HIDDEN drupal/includes/stream_wrappers.inc Stream wrapper type flag -- hidden, readable and writeable using local files. 2 1
STREAM_WRAPPERS_WRITE_VISIBLE drupal/includes/stream_wrappers.inc Stream wrapper type flag -- visible, readable and writeable. 6 1
STREAM_WRAPPERS_READ_VISIBLE drupal/includes/stream_wrappers.inc Stream wrapper type flag -- visible and read-only. 1 1
STREAM_WRAPPERS_NORMAL drupal/includes/stream_wrappers.inc Stream wrapper type flag -- the default when 'type' is omitted from hook_stream_wrappers(). This does not include STREAM_WRAPPERS_LOCAL, because PHP grants a greater trust level to local files (for example, they can be used in an… 2 1
STREAM_WRAPPERS_LOCAL_NORMAL drupal/includes/stream_wrappers.inc Stream wrapper type flag -- visible, readable and writeable using local files. 2 1
MARK_READ drupal/includes/theme.inc Mark content as read. 2 1
MARK_NEW drupal/includes/theme.inc Mark content as being new. 3 1
MARK_UPDATED drupal/includes/theme.inc Mark content as being updated. 2 1
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
REQUIRED_D6_SCHEMA_VERSION drupal/includes/update.inc Minimum schema version of Drupal 6 required for upgrade to Drupal 7. 1 1
DRUPAL_ROOT drupal/index.php Root directory of Drupal installation. 162 9
DRUPAL_ROOT drupal/install.php Defines the root directory of the Drupal installation. 162 9
MAINTENANCE_MODE drupal/install.php Global flag to indicate the site is in installation mode. 10 20
AGGREGATOR_CLEAR_NEVER drupal/modules/aggregator/aggregator.module Denotes that a feed's items should never expire. 4 1

Pages

Other projects