CHAPTER 4The Menu System

Drupal's menu system is complex but powerful. The term "menu system" is somewhat of a misnomer. It may be better to think of the menu system as having three primary responsibilities: callback mapping, access control, and menu customization. Essential code for the menu system is in includes/, while optional code that enables such features as customizing menus is in modules/menu.

In this chapter, we'll explore what callback mapping is and how it works, see how to protect menu items with access control, learn to use menu wildcards, and inventory the various built-in types of menu items. The chapter finishes up by examining how to override, add, and delete existing menu items, so you can customize Drupal as nonintrusively ...

Get Pro Drupal Development, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.