This example demonstrates how to use node hooks.
This is an example demonstrating how a module can be used to extend existing content types. We will add the ability for each node to have a rating, a number from one to five. The rating will also be tracked using the revision system, so every revision may have different rating values.
Parent topics
File
- modules/
examples/ node_hooks_example/ node_hooks_example.module, line 7 - Hook implementations for the Node Hooks Example module.