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.
- Section 5.7, “Adding a Page to the Navigation”
- Section 5.8, “Changing the Order of Navigation”
- To display a menu, you will need to place the block that corresponds to the menu in a region of your theme; see Section 8.1, “Concept: Blocks”, Section 2.1, “Concept: Regions in a Theme”, and Section 8.3, “Placing a Block in a Region”. The core Standard installation profile places all of the menus it defines except Administration in regions of the core Bartik theme. The core Toolbar module, which is installed by the core Standard installation profile, displays the Administration menu; it is also displayed by the contributed Admin Toolbar module.