node.php

Version

1.24.2.8 (checked in on 2008/07/15 at 14:36:25 by darrenoh)

Description

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

Namesort iconDescription
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 the human-readable name of a node type.
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_submitThis 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_updateRespond to node updating.
hook_validateVerify a node editing form.
hook_viewDisplay a node.
 
 

Drupal is a registered trademark of Dries Buytaert.