Menu API

Menu API in Drupal 8.

Comparison of Menu API in Drupal 7 and 8

Drupal 7 menu system compared to Drupal 8.

Providing module-defined menu links

Disclaimer: As of this writing, this part of Drupal 8 core is highly in flux and the information written here may not last very long.

Providing module-defined local tasks

Local tasks are what generate the tabs on top of pages (up to two levels). These are mostly used on administrative pages but frontend pages

Providing module-defined actions

Local actions have also been moved out of the hook_menu() system in Drupal 8 and are very similar to local tasks. Use actions to define

Providing module-defined contextual links

Contextual links have also been moved out of the hook_menu() system in Drupal 8 and are very similar to local tasks. Use contextual links to

User stories for Drupal's menu API

Adapted from [#2351379]. Here are various user stories for the menu API and how they fare against the plan at [#2407505].

Guide maintainers