Example: NodeAPI in Examples for Developers 6
Same name and namespace in other branches
- 7 nodeapi_example/nodeapi_example.module \nodeapi_example
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
Parent topics
File
- nodeapi_example/nodeapi_example.module, line 12 
- This is an example outlining how a module can be used to extend existing content types.
Functions
| Name   | Location | Description | 
|---|---|---|
| nodeapi_example_form_alter | nodeapi_example/ | Implementation of hook_form_alter(). | 
| nodeapi_example_nodeapi | nodeapi_example/ | Implementation of hook_nodeapi(). | 
| nodeapi_example_theme | nodeapi_example/ | Implementation of hook_theme(). | 
| theme_nodeapi_example_rating | nodeapi_example/ | A custom theme function. | 
