drupal-menus
CommunityAutomate Drupal menus and links.
Authoredutrul
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Managing Drupal menus and their associated links (menu definitions, local tasks, actions, and contextual links) is often scattered across YAML files and custom code, leading to maintenance overhead and inconsistency.
Core Features & Use Cases
- Define navigation via YAML files: links.menu.yml, links.task.yml, links.action.yml, and contextual links.
- Programmatic menu tree loading, rendering, and alteration using Drupal's MenuTree API.
- Extend with dynamic MenuLinkDefault plugins and hook-based alterations to adjust menu structures at runtime.
- Programmatic manipulation of menus for custom modules and admin interfaces.
Quick Start
Create a module and declare its menus with my_module.links.menu.yml, my_module.links.task.yml, my_module.links.action.yml, and contextual.yml, then load and render the menu tree programmatically.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: drupal-menus Download link: https://github.com/edutrul/drupal-ai/archive/main.zip#drupal-menus Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.