node.php

Version 1.41.2.5 (checked in on 2009/06/15 at 23:21:52 by jhodgdon)

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().

Functions

NameDescription
hook_accessDefine access restrictions.
hook_deleteRespond to node deletion.
hook_formDisplay a node editing form.
hook_insertRespond to node insertion.
hook_loadLoad node-type-specific information.
hook_node_infoDefine module-provided node types.
hook_node_typeAct on node type changes.
hook_prepareThis is a hook used by node modules. It is called after load but before the node is shown on the add/edit form.
hook_updateRespond to node updating.
hook_validateVerify a node editing form.
hook_viewDisplay a node.
 
 

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.