Using hook_menu
Submitted by Johan Falk on Tue, 01/17/2012 - 15:54
This screencasts introduces the concept of *hooks* – functions that, thanks to their names, are recognized and called by Drupal at certain events.
In particular, this screencast shows how a module registers new paths on your Drupal site, by implementing "hook_menu". It shows some aspects of using this hook:
- Declaring new paths
- Declaring a callback function
- Setting access to the path
- Setting which menu the page should appear
Additional Resources:
Leave a comment