core.php

Version

1.51.2.3 (checked in on 2007/12/17 at 15:52:44 by darrenoh)

Description

These are the hooks that are invoked by the Drupal core.

Core hooks are typically called in all modules at once using module_invoke_all().

Functions

Namesort iconDescription
hook_blockDeclare a block or set of blocks.
hook_commentAct on comment modification.
hook_cronPerform periodic actions.
hook_db_rewrite_sqlAdd JOIN and WHERE statements to queries and decide whether the primary_field shall be made DISTINCT. For node objects, primary field is always called nid. For taxonomy terms, it is tid and for vocabularies it is vid. For comments, it is cid. Note...
hook_exitPerform cleanup tasks.
hook_filterDefine content filters.
hook_filter_tipsProvide tips for using filters.
hook_footerInsert closing HTML.
hook_helpProvide online user help.
hook_initPerform setup tasks.
hook_linkDefine internal Drupal links.
hook_menuDefine menu items and page callbacks.
hook_nodeapiAct on nodes defined by other modules.
hook_node_grantsGrant access to nodes.
hook_onloadInsert a JavaScript onload handler.
hook_permDefine user permissions.
hook_pingPing another server.
hook_searchDefine a custom search routine.
hook_search_itemFormat a search result.
hook_search_preprocessPreprocess text for the search index.
hook_settingsDeclare administrative settings for a module.
hook_taxonomyAct on taxonomy changes.
hook_textareaReact to textarea additions.
hook_update_indexUpdate Drupal's full-text index for this module.
hook_userAct on user account actions.
hook_xmlrpcRegister XML-RPC callbacks.
 
 

Drupal is a registered trademark of Dries Buytaert.