5.6. Concept: Menu for Drupal 9

Last updated July 11, 2019

What is a menu?

Menus are a collection of links (menu items) used to navigate a website. The core Menu UI module provides an interface to control and customize the menu system. Menus are primarily displayed as a hierarchical list of links. By default, new menu items are placed inside a built-in menu labeled Main navigation, but administrators can also create custom menus.

The core Standard installation profile contains five menus:

Main navigation
Links to sections intended for site visitors. They are usually created by site administrators.
Links to administrative tasks. This menu mainly contains links supplied by modules on your site.
User account menu
Links to tasks associated with the user account such as My account and Log out.
Links to important pages within the site intended for the footer. They are usually created by site administrators.
Links to tasks necessary for site visitors. Some modules feature their links here.

You can customize menus in the following ways, using the menu administration functionality:

  • Creating new custom menus.
  • Adding new menu items.
  • Reordering menu items by setting their "weight" or by dragging them into place.
  • Renaming menu items.
  • Changing the link title (the tooltip that appears when you mouse over a menu item).
  • Moving a menu item into a different menu by editing its Parent property.

A menu item will only be shown to a visitor if they have the rights to view the page it links to. For example, the admin menu item is not shown to visitors who are not logged in.

Related topics


Written and edited by Ajay Viswambharan, Jojy Alphonso at Red Crackle, and Jennifer Hodgdon.