nodeapi_example.module

Version 1.9 (checked in on 2008/09/15 at 21:57:07 by davereid)

This is an example outlining how a module can be used to extend existing content types.

We will add the ability for each node to have a "rating," which will be a number from one to five.

Functions

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.
Login or register to post comments
 
 

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.