Constants

NameLocationDescription
CACHE_PERMANENTincludes/bootstrap.inc
CACHE_TEMPORARYincludes/bootstrap.inc
CONTACT_HOURLY_THRESHOLDmodules/contact.module
FILE_CREATE_DIRECTORYincludes/file.inc
FILE_DIRECTORY_TEMPincludes/file.inc
FILE_DOWNLOADS_PRIVATEincludes/file.inc
FILE_DOWNLOADS_PUBLICincludes/file.inc
FILE_EXISTS_ERRORincludes/file.inc
FILE_EXISTS_RENAMEincludes/file.inc
FILE_EXISTS_REPLACEincludes/file.inc
FILE_MODIFY_PERMISSIONSincludes/file.inc
FILTER_FORMAT_DEFAULTmodules/filter.module
FILTER_HTML_ESCAPEmodules/filter.module
FILTER_HTML_STRIPmodules/filter.module
IS_WINDOWSincludes/file.inc
MARK_NEWincludes/theme.inc
MARK_READincludes/theme.inc@name Content markers
MARK_UPDATEDincludes/theme.inc
MENU_ACCESS_DENIEDincludes/menu.inc
MENU_CALLBACKincludes/menu.incCallbacks simply register a path so that the correct function is fired when the URL is accessed. They are not shown in the menu.
MENU_CREATED_BY_ADMINincludes/menu.inc
MENU_CUSTOM_ITEMincludes/menu.incCustom items are those defined by the administrator. Reserved for internal use; do not return from hook_menu() implementations.
MENU_CUSTOM_MENUincludes/menu.incCustom menus are those defined by the administrator. Reserved for internal use; do not return from hook_menu() implementations.
MENU_DEFAULT_LOCAL_TASKincludes/menu.incEvery set of local tasks should provide one "default" task, that links to the same path as its parent when clicked.
MENU_DYNAMIC_ITEMincludes/menu.incDynamic menu items change frequently, and so should not be stored in the database for administrative customization.
MENU_EXPANDEDincludes/menu.inc
MENU_FOUNDincludes/menu.inc
MENU_IS_LOCAL_TASKincludes/menu.inc
MENU_IS_ROOTincludes/menu.inc
MENU_ITEM_GROUPINGincludes/menu.incItem groupings are used for pages like "node/add" that simply list subpages to visit. They are distinguished from other pages in that they will disappear from the menu if no subpages exist.
MENU_LINKS_TO_PARENTincludes/menu.inc
MENU_LOCAL_TASKincludes/menu.incLocal tasks are rendered as tabs by default. Use this for menu items that describe actions to be performed on their parent item. An example is the path "node/52/edit", which performs the "edit" task on "node/52".
MENU_MODIFIABLE_BY_ADMINincludes/menu.inc
MENU_MODIFIED_BY_ADMINincludes/menu.inc
MENU_NORMAL_ITEMincludes/menu.incNormal menu items show up in the menu tree and can be moved/hidden by the administrator. Use this for most menu items. It is the default value if no menu item type is specified.
MENU_NOT_FOUNDincludes/menu.inc
MENU_SUGGESTED_ITEMincludes/menu.incModules may "suggest" menu items that the administrator may enable. They act just as callbacks do until enabled, at which time they act like normal items.
MENU_VISIBLE_IF_HAS_CHILDRENincludes/menu.inc
MENU_VISIBLE_IN_BREADCRUMBincludes/menu.inc
MENU_VISIBLE_IN_TREEincludes/menu.inc
NODE_NEW_LIMITmodules/node.module
PREG_CLASS_NUMBERSmodules/search.moduleMatches all 'N' Unicode character classes (numbers)
PREG_CLASS_PUNCTUATIONmodules/search.moduleMatches all 'P' Unicode character classes (punctuation)
PREG_CLASS_SEARCH_EXCLUDEmodules/search.moduleMatches Unicode character classes to exclude from the search index.
PROFILE_PRIVATEmodules/profile.moduleFlags to define the visibility of a profile field.
PROFILE_PUBLICmodules/profile.module
PROFILE_PUBLIC_LISTINGSmodules/profile.module
WATCHDOG_ERRORincludes/bootstrap.inc
WATCHDOG_NOTICEincludes/bootstrap.inc
WATCHDOG_WARNINGincludes/bootstrap.inc
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.