Example: NodeAPI

Modifying a node during its life-cycle. (drupal 6)

This example demostrates 'piggy-backing' some data on the node in another database table.

This example is part of the Examples for Developers Project which you can download and experiment with here: http://drupal.org/project/examples

Functions & methods

NameDescription
nodeapi_example_form_alterImplementation of hook_form_alter().
nodeapi_example_nodeapiImplementation of hook_nodeapi().
nodeapi_example_themeImplementation of hook_theme().
theme_nodeapi_example_ratingA custom theme function.

examples/nodeapi_example/nodeapi_example.module, line 13