Constants

Primary tabs

Name Locationsort ascending Description Direct uses Strings
BLOCK_REGION_NONE drupal/modules/block/block.module Denotes that a block is not enabled in any region and should not be shown. 7 1
BLOCK_CUSTOM_FIXED drupal/modules/block/block.module Users cannot control whether or not they see this block. 2 1
BLOCK_CUSTOM_ENABLED drupal/modules/block/block.module Shows this block by default, but lets individual users hide it. 2 1
BLOCK_CUSTOM_DISABLED drupal/modules/block/block.module Hides this block by default but lets individual users show it. 1 1
BLOCK_VISIBILITY_NOTLISTED drupal/modules/block/block.module Shows this block on every page except the listed pages. 1 1
BLOCK_VISIBILITY_LISTED drupal/modules/block/block.module Shows this block on only the listed pages. 3 1
BLOCK_VISIBILITY_PHP drupal/modules/block/block.module Shows this block if the associated PHP code returns TRUE. 2 1
AGGREGATOR_CLEAR_NEVER drupal/modules/aggregator/aggregator.module Denotes that a feed's items should never expire. 4 1
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
DRUPAL_ROOT drupal/index.php Root directory of Drupal installation. 162 9
REQUIRED_D6_SCHEMA_VERSION drupal/includes/update.inc Minimum schema version of Drupal 6 required for upgrade to Drupal 7. 1 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
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
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
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
MENU_IS_ROOT drupal/includes/menu.inc Internal menu flag -- menu item is the root of the menu tree. 1
MENU_VISIBLE_IN_TREE drupal/includes/menu.inc Internal menu flag -- menu item is visible in the menu tree. 2 1
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

Pages

Other projects