Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 5

node.php

Version

1.37.2.3 (checked in on 2008/02/18 at 03:26:14 by drewish)

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 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_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.