Advertising sustains the DA. Ads are hidden for members. Join today
Drupal APIs
- Access Policy API
- AJAX API
- Authentication API
- Batch API
- Block API
- Cache API
- (deprecated) CKEditor 4 API
- CKEditor 5 API
- Command-Line Interface (CLI) API
- Configuration API
- Database API
- Entity API
- Filter API
- Form API
- HTMX
- Icon API
- JavaScript API
- Layout API
- Logging API
- Menu API
- Middleware API
- Migrate API
- Plugin API
- RESTful Web Services API
- Render API
- Responses
- Routing system
- Runtime Assertions
- Serialization API
- Services and dependency injection
- State API
- Text Editor API
- Token API
- Translation API
- Typed Data API
- Update API
Menu API
Menu API.
Comparison of Menu API in Drupal 7 and 8
Drupal 7 menu system compared to Drupal 8.
Providing module-defined menu links
Defining menu links in a custom module using the module.links.menu.yml file.
Providing module-defined local tasks
Local tasks are a Drupal system to render route-specific links (eg tasks, commands or actions), usually rendered as menu tabs.
Providing module-defined local 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.
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].