1.37.2.6 (checked in on 2008/10/25 at 15:13:23 by add1sun)
These hooks are defined by node modules, modules that define a new kind of node.
If you don't need to make a new node type but rather extend the existing ones, you should instead investigate using hook_nodeapi().
Node hooks are typically called by node.module using node_invoke().
| Name | Description |
|---|---|
| hook_access | Define access restrictions. |
| hook_delete | Respond to node deletion. |
| hook_form | Display a node editing form. |
| hook_insert | Respond to node insertion. |
| hook_load | Load node-type-specific information. |
| hook_node_info | Define module-provided node types. |
| hook_node_type | Act on node type changes. |
| hook_prepare | This is a hook used by node modules. It is called after load but before the node is shown on the add/edit form. |
| hook_submit | This is a hook used by node modules. It is called after validation has succeeded and before insert/update. It is used to for actions which must happen only if the node is to be saved. Usually, $node is changed in some way and then the actual saving of... |
| hook_update | Respond to node updating. |
| hook_validate | Verify a node editing form. |
| hook_view | Display a node. |