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
| Name | Description |
|---|---|
| hook_block | Declare a block or set of blocks. |
| hook_comment | Act on comment modification. |
| hook_cron | Perform periodic actions. |
| hook_db_rewrite_sql | Add 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_exit | Perform cleanup tasks. |
| hook_filter | Define content filters. |
| hook_filter_tips | Provide tips for using filters. |
| hook_footer | Insert closing HTML. |
| hook_help | Provide online user help. |
| hook_init | Perform setup tasks. |
| hook_link | Define internal Drupal links. |
| hook_menu | Define menu items and page callbacks. |
| hook_nodeapi | Act on nodes defined by other modules. |
| hook_node_grants | Grant access to nodes. |
| hook_onload | Insert a JavaScript onload handler. |
| hook_perm | Define user permissions. |
| hook_ping | Ping another server. |
| hook_search | Define a custom search routine. |
| hook_search_item | Format a search result. |
| hook_search_preprocess | Preprocess text for the search index. |
| hook_settings | Declare administrative settings for a module. |
| hook_taxonomy | Act on taxonomy changes. |
| hook_textarea | React to textarea additions. |
| hook_update_index | Update Drupal's full-text index for this module. |
| hook_user | Act on user account actions. |
| hook_xmlrpc | Register XML-RPC callbacks. |
