Constants - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
MENU_IS_LOCAL_TASK includes/menu.inc Internal menu flag -- menu item is a local task. 3 1
MENU_IS_ROOT includes/menu.inc Internal menu flag -- menu item is the root of the menu tree. 1
MENU_LINKS_TO_PARENT includes/menu.inc Internal menu flag -- menu item links back to its parent. 3 1
MENU_LOCAL_ACTION includes/menu.inc Menu type -- An action specific to the parent, usually rendered as a link. 16 1
MENU_LOCAL_TASK includes/menu.inc Menu type -- A task specific to the parent item, usually rendered as a tab. 25 1
MENU_MAX_DEPTH includes/menu.inc The maximum depth of a menu links tree - matches the number of p columns. 16 1
MENU_MAX_MENU_NAME_LENGTH_UI modules/menu/menu.module Maximum length of menu name as entered by the user. Database length is 32 and we add a menu- prefix. 3 1
MENU_MAX_PARTS includes/menu.inc The maximum number of path elements for a menu callback 4 1
MENU_MODIFIED_BY_ADMIN includes/menu.inc Internal menu flag -- menu item can be modified by administrator. 1
MENU_NORMAL_ITEM includes/menu.inc Menu type -- A "normal" menu item that's shown in menu and breadcrumbs. 4 1
MENU_NOT_FOUND includes/menu.inc Menu status code -- Not found. 15 1
MENU_PREFERRED_LINK includes/menu.inc Reserved key to identify the most specific menu link for a given path. 1 1
MENU_SITE_OFFLINE includes/menu.inc Internal menu status code -- Menu item inaccessible because site is offline. 9 1
MENU_SITE_ONLINE includes/menu.inc Internal menu status code -- Everything is working fine. 6 1
MENU_SUGGESTED_ITEM includes/menu.inc Menu type -- A normal menu item, hidden until enabled by an administrator. 11 1
MENU_VISIBLE_IN_BREADCRUMB includes/menu.inc Internal menu flag -- menu item is visible in the breadcrumb. 8 1
MENU_VISIBLE_IN_TREE includes/menu.inc Internal menu flag -- menu item is visible in the menu tree. 2 1
MYSQL_IDENTIFIER_QUOTE_CHARACTER_DEFAULT includes/database/mysql/database.inc The default character for quoting identifiers in MySQL. 3 1
NODE_ACCESS_ALLOW modules/node/node.module Modules should return this value from hook_node_access() to allow access to a node. 3 1
NODE_ACCESS_DENY modules/node/node.module Modules should return this value from hook_node_access() to deny access to a node. 1 1
NODE_ACCESS_IGNORE modules/node/node.module Modules should return this value from hook_node_access() to not affect node access. 2 1
NODE_NEW_LIMIT modules/node/node.module Nodes changed before this time are always marked as read. 3 1
NODE_NOT_PROMOTED modules/node/node.module Node is not promoted to front page. 3 1
NODE_NOT_PUBLISHED modules/node/node.module Node is not published. 8 1
NODE_NOT_STICKY modules/node/node.module Node is not sticky at top of the page. 3 1
NODE_PROMOTED modules/node/node.module Node is promoted to front page. 3 1
NODE_PUBLISHED modules/node/node.module Node is published. 7 1
NODE_STICKY modules/node/node.module Node is sticky at top of the page. 3 1
OPENID_DH_DEFAULT_GEN modules/openid/openid.inc Diffie-Hellman generator; used for Diffie-Hellman key exchange computations. 2 1
OPENID_DH_DEFAULT_MOD modules/openid/openid.inc Diffie-Hellman Key Exchange Default Value. 2 1
OPENID_NS_1_0 modules/openid/openid.inc OpenID Authentication 1.0 namespace URL; used for backwards-compatibility. 1 1
OPENID_NS_1_1 modules/openid/openid.inc OpenID Authentication 1.1 namespace URL; used for backwards-compatibility. 1 1
OPENID_NS_2_0 modules/openid/openid.inc OpenID Authentication 2.0 namespace URL. 3 1
OPENID_NS_AX modules/openid/openid.inc OpenID Attribute Exchange extension. 3 1
OPENID_NS_OPENID modules/openid/openid.inc OpenID namespace used in Yadis documents. 1
OPENID_NS_SREG modules/openid/openid.inc OpenID Simple Registration extension. 4 1
OPENID_NS_XRD modules/openid/openid.inc Extensible Resource Descriptor documents. 1
OPENID_RAND_SOURCE modules/openid/openid.inc Random number generator; used for Diffie-Hellman key exchange computations. 1
OPENID_SHA1_BLOCKSIZE modules/openid/openid.inc SHA-1 hash block size; used for Diffie-Hellman key exchange computations. 1 1
PASS_THROUGH includes/bootstrap.inc Flag used to indicate that text has already been sanitized. 35 1
POSTGRESQL_NEXTID_LOCK includes/database/pgsql/database.inc The name by which to obtain a lock for retrieving the next insert id. 1 1
PREG_CLASS_CJK modules/search/search.module Matches CJK (Chinese, Japanese, Korean) letter-like characters. 2 1
PREG_CLASS_NUMBERS modules/search/search.module Matches all 'N' Unicode character classes (numbers) 1 1
PREG_CLASS_PUNCTUATION modules/search/search.module Matches all 'P' Unicode character classes (punctuation) 1 1
PREG_CLASS_UNICODE_WORD_BOUNDARY includes/unicode.inc Matches Unicode characters that are word boundaries. 3 1
PROFILE_HIDDEN modules/profile/profile.module Hidden profile field, only accessible by administrators, modules and themes. 4 1
PROFILE_PRIVATE modules/profile/profile.module Private field, content only available to privileged users. 4 1
PROFILE_PUBLIC modules/profile/profile.module Public field, content shown on profile page but not used on member list pages. 3 1
PROFILE_PUBLIC_LISTINGS modules/profile/profile.module Public field, content shown on profile page and on member list pages. 2 1
RDF_DEFAULT_BUNDLE modules/rdf/rdf.module RDF bundle flag: Default bundle. 6 1

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.