core.php
Version
1.84.2.22 (checked in on 2008/01/28 at 04:04:05 by bdragon)
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 comments. |
| 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. Primary... |
| hook_elements | Allows modules to declare their own form element types and specify their default values. |
| hook_exit | Perform cleanup tasks. |
| hook_file_download | Allow file downloads. |
| hook_filter | Define content filters. |
| hook_filter_tips | Provide tips for using filters. |
| hook_footer | Insert closing HTML. |
| hook_form_alter | Perform alterations before a form is rendered. One popular use of this hook is to add form elements to the node form. |
| 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_perm | Define user permissions. |
| hook_ping | Ping another server. |
| hook_search | Define a custom search routine. |
| hook_search_preprocess | Preprocess text for the search index. |
| hook_settings | Declare administrative settings for a module. |
| hook_taxonomy | Act on taxonomy changes. |
| 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. |
