Constants

Primary tabs

Contains filters are case sensitive
Name Locationsort descending Description
BLOCK_REGION_NONE drupal/modules/block/block.module Denotes that a block is not enabled in any region and should not be shown.
BLOCK_CUSTOM_FIXED drupal/modules/block/block.module Users cannot control whether or not they see this block.
BLOCK_CUSTOM_ENABLED drupal/modules/block/block.module Shows this block by default, but lets individual users hide it.
BLOCK_CUSTOM_DISABLED drupal/modules/block/block.module Hides this block by default but lets individual users show it.
BLOCK_VISIBILITY_NOTLISTED drupal/modules/block/block.module Shows this block on every page except the listed pages.
BLOCK_VISIBILITY_LISTED drupal/modules/block/block.module Shows this block on only the listed pages.
BLOCK_VISIBILITY_PHP drupal/modules/block/block.module Shows this block if the associated PHP code returns TRUE.
COMMENT_NOT_PUBLISHED drupal/modules/comment/comment.module Comment is awaiting approval.
COMMENT_PUBLISHED drupal/modules/comment/comment.module Comment is published.
COMMENT_MODE_FLAT drupal/modules/comment/comment.module Comments are displayed in a flat list - expanded.
COMMENT_MODE_THREADED drupal/modules/comment/comment.module Comments are displayed as a threaded list - expanded.
COMMENT_ANONYMOUS_MAYNOT_CONTACT drupal/modules/comment/comment.module Anonymous posters cannot enter their contact information.
COMMENT_ANONYMOUS_MAY_CONTACT drupal/modules/comment/comment.module Anonymous posters may leave their contact information.
COMMENT_ANONYMOUS_MUST_CONTACT drupal/modules/comment/comment.module Anonymous posters are required to leave their contact information.
COMMENT_FORM_SEPARATE_PAGE drupal/modules/comment/comment.module Comment form should be displayed on a separate page.
COMMENT_FORM_BELOW drupal/modules/comment/comment.module Comment form should be shown below post or list of comments.
COMMENT_NODE_HIDDEN drupal/modules/comment/comment.module Comments for this node are hidden.
COMMENT_NODE_CLOSED drupal/modules/comment/comment.module Comments for this node are closed.
COMMENT_NODE_OPEN drupal/modules/comment/comment.module Comments for this node are open.
FIELD_STORAGE_UPDATE drupal/modules/field/field.attach.inc Argument for an update operation.
FIELD_STORAGE_INSERT drupal/modules/field/field.attach.inc Argument for an insert operation.
FIELD_CARDINALITY_UNLIMITED drupal/modules/field/field.module Value for field API indicating a field accepts an unlimited number of values.
FIELD_BEHAVIOR_NONE drupal/modules/field/field.module Value for field API indicating a widget doesn't accept default values.
FIELD_BEHAVIOR_DEFAULT drupal/modules/field/field.module Value for field API concerning widget default and multiple value settings.
FIELD_BEHAVIOR_CUSTOM drupal/modules/field/field.module Value for field API indicating a widget can receive several field values.
FIELD_LOAD_CURRENT drupal/modules/field/field.module Age argument for loading the most recent version of an entity's field data with field_attach_load().
FIELD_LOAD_REVISION drupal/modules/field/field.module Age argument for loading the version of an entity's field data specified in the entity with field_attach_load().
IMAGE_STORAGE_NORMAL drupal/modules/image/image.module Image style constant for user presets in the database.
IMAGE_STORAGE_OVERRIDE drupal/modules/image/image.module Image style constant for user presets that override module-defined presets.
IMAGE_STORAGE_DEFAULT drupal/modules/image/image.module Image style constant for module-defined presets in code.
IMAGE_STORAGE_EDITABLE drupal/modules/image/image.module Image style constant to represent an editable preset.
IMAGE_STORAGE_MODULE drupal/modules/image/image.module Image style constant to represent any module-based preset.
IMAGE_DERIVATIVE_TOKEN drupal/modules/image/image.module The name of the query parameter for image derivative tokens.
MENU_MAX_MENU_NAME_LENGTH_UI drupal/modules/menu/menu.module Maximum length of menu name as entered by the user. Database length is 32 and we add a menu- prefix.
NODE_NOT_PUBLISHED drupal/modules/node/node.module Node is not published.
NODE_PUBLISHED drupal/modules/node/node.module Node is published.
NODE_NOT_PROMOTED drupal/modules/node/node.module Node is not promoted to front page.
NODE_PROMOTED drupal/modules/node/node.module Node is promoted to front page.
NODE_NOT_STICKY drupal/modules/node/node.module Node is not sticky at top of the page.
NODE_STICKY drupal/modules/node/node.module Node is sticky at top of the page.
NODE_NEW_LIMIT drupal/modules/node/node.module Nodes changed before this time are always marked as read.
NODE_ACCESS_ALLOW drupal/modules/node/node.module Modules should return this value from hook_node_access() to allow access to a node.
NODE_ACCESS_DENY drupal/modules/node/node.module Modules should return this value from hook_node_access() to deny access to a node.
NODE_ACCESS_IGNORE drupal/modules/node/node.module Modules should return this value from hook_node_access() to not affect node access.
OPENID_DH_DEFAULT_MOD drupal/modules/openid/openid.inc Diffie-Hellman Key Exchange Default Value.
OPENID_DH_DEFAULT_GEN drupal/modules/openid/openid.inc Diffie-Hellman generator; used for Diffie-Hellman key exchange computations.
OPENID_SHA1_BLOCKSIZE drupal/modules/openid/openid.inc SHA-1 hash block size; used for Diffie-Hellman key exchange computations.
OPENID_RAND_SOURCE drupal/modules/openid/openid.inc Random number generator; used for Diffie-Hellman key exchange computations.
OPENID_NS_2_0 drupal/modules/openid/openid.inc OpenID Authentication 2.0 namespace URL.
OPENID_NS_1_1 drupal/modules/openid/openid.inc OpenID Authentication 1.1 namespace URL; used for backwards-compatibility.

Pages

Other projects