Contributions API

Constants

Namesort iconLocationDescription
BLOCK_CACHE_GLOBAL6/ modules/ block/ block.moduleThe block is the same for every user on every page where it is visible.
BLOCK_CACHE_PER_PAGE6/ modules/ block/ block.moduleThe block can change depending on the page being viewed.
BLOCK_CACHE_PER_ROLE6/ modules/ block/ block.moduleThe block can change depending on the roles the user viewing the page belongs to. This is the default setting, used when the block does not specify anything.
BLOCK_CACHE_PER_USER6/ modules/ block/ block.moduleThe block can change depending on the user viewing the page. This setting can be resource-consuming for sites with large number of users, and thus should only be used when BLOCK_CACHE_PER_ROLE is not sufficient.
BLOCK_NO_CACHE6/ modules/ block/ block.moduleThe block should not get cached. This setting should be used: for simple blocks (notably those that do not perform any db query), where querying the db cache would be more expensive than directly generating the content. for blocks that change too...
BLOCK_REGION_NONE6/ modules/ block/ block.moduleDenotes that a block is not enabled in any region and should not be shown.
CACHE_AGGRESSIVE6/ includes/ bootstrap.incIndicates that page caching is using "aggressive" mode. This bypasses loading any modules for additional speed, which may break functionality in modules that expect to be run on each page load.
CACHE_DISABLED6/ includes/ bootstrap.incIndicates that page caching is disabled.
CACHE_NORMAL6/ includes/ bootstrap.incIndicates that page caching is enabled, using "normal" mode.
CACHE_PERMANENT6/ includes/ bootstrap.incIndicates that the item should never be removed unless explicitly told to using cache_clear_all() with a cache ID.
CACHE_TEMPORARY6/ includes/ bootstrap.incIndicates that the item should be removed at the next general cache wipe.
CAPTCHA_PERSISTENCE_SHOW_ALWAYScontributions/ captcha/ captcha.module
CAPTCHA_PERSISTENCE_SKIP_ONCE_SUCCESSFULcontributions/ captcha/ captcha.module
CAPTCHA_PERSISTENCE_SKIP_ONCE_SUCCESSFUL_PER_FORMcontributions/ captcha/ captcha.module
CAPTCHA_UNSOLVED_CHALLENGES_MAXcontributions/ captcha/ captcha.module
COMMENT_ANONYMOUS_MAYNOT_CONTACT6/ modules/ comment/ comment.moduleAnonymous posters may not enter their contact information.
COMMENT_ANONYMOUS_MAY_CONTACT6/ modules/ comment/ comment.moduleAnonymous posters may leave their contact information.
COMMENT_ANONYMOUS_MUST_CONTACT6/ modules/ comment/ comment.moduleAnonymous posters must leave their contact information.
COMMENT_CONTROLS_ABOVE6/ modules/ comment/ comment.moduleComment controls should be shown above the comment list.
COMMENT_CONTROLS_ABOVE_BELOW6/ modules/ comment/ comment.moduleComment controls should be shown both above and below the comment list.
COMMENT_CONTROLS_BELOW6/ modules/ comment/ comment.moduleComment controls should be shown below the comment list.
COMMENT_CONTROLS_HIDDEN6/ modules/ comment/ comment.moduleComment controls are hidden.
COMMENT_FORM_BELOW6/ modules/ comment/ comment.moduleComment form should be shown below post or list of comments.
COMMENT_FORM_SEPARATE_PAGE6/ modules/ comment/ comment.moduleComment form should be displayed on a separate page.
COMMENT_MODE_FLAT_COLLAPSED6/ modules/ comment/ comment.moduleComments are displayed in a flat list - collapsed.
COMMENT_MODE_FLAT_EXPANDED6/ modules/ comment/ comment.moduleComments are displayed in a flat list - expanded.
COMMENT_MODE_THREADED_COLLAPSED6/ modules/ comment/ comment.moduleComments are displayed as a threaded list - collapsed.
COMMENT_MODE_THREADED_EXPANDED6/ modules/ comment/ comment.moduleComments are displayed as a threaded list - expanded.
COMMENT_NODE_DISABLED6/ modules/ comment/ comment.moduleComments for this node are disabled.
COMMENT_NODE_READ_ONLY6/ modules/ comment/ comment.moduleComments for this node are locked.
COMMENT_NODE_READ_WRITE6/ modules/ comment/ comment.moduleComments are enabled on this node.
COMMENT_NOT_PUBLISHED6/ modules/ comment/ comment.moduleComment is awaiting approval.
COMMENT_ORDER_NEWEST_FIRST6/ modules/ comment/ comment.moduleComments are ordered by date - newest first.
COMMENT_ORDER_OLDEST_FIRST6/ modules/ comment/ comment.moduleComments are ordered by date - oldest first.
COMMENT_PREVIEW_OPTIONAL6/ modules/ comment/ comment.moduleComment preview is optional.
COMMENT_PREVIEW_REQUIRED6/ modules/ comment/ comment.moduleComment preview is required.
COMMENT_PUBLISHED6/ modules/ comment/ comment.moduleComment is published.
CONTEMPLATE_BODY_ENABLEDcontributions/ contemplate/ contemplate.module
CONTEMPLATE_RSS_ENABLEDcontributions/ contemplate/ contemplate.module
CONTEMPLATE_TEASER_ENABLEDcontributions/ contemplate/ contemplate.module
CONTENT_CALLBACK_CUSTOMcontributions/ cck/ content.module
CONTENT_CALLBACK_DEFAULTcontributions/ cck/ content.module
CONTENT_CALLBACK_NONEcontributions/ cck/ content.module
CONTENT_CONTEXTS_ADVANCEDcontributions/ cck/ content.module
CONTENT_CONTEXTS_ALLcontributions/ cck/ content.module
CONTENT_CONTEXTS_SIMPLEcontributions/ cck/ content.module
CONTENT_DB_STORAGE_PER_CONTENT_TYPEcontributions/ cck/ content.module
CONTENT_DB_STORAGE_PER_FIELDcontributions/ cck/ content.module
CONTENT_HANDLE_COREcontributions/ cck/ content.module
CONTENT_HANDLE_MODULEcontributions/ cck/ content.module