Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Menu Link Attributes

Security covered Under active development 98,557 sites

This module allows you to add custom HTML attributes to menu links or their parent list items. You can configure which attributes are available and for whom to grant permission to use them.

This module allows you to add attributes to your menu links or their wrapping <li> elements.

Installation โ˜๏ธ

  1. Enable Menu Link Attributes module
  2. Grant Use menu link attributes permission to users which should be able to set attributes on menu items
  3. Set available attributes on /admin/config/menu_link_attributes/config

Screencasts ๐Ÿ“บ

Container attributes

In order to provide attributes for containers (wrapping <li> elements) you simply need to create a new attribute starting with container_, those will be applied on the container automatically.

Optional dependency

  • YAML Editor - Loads an Ace editor which makes YAML editing more fun
Drupal 8โ€“11

Ask your assistant about Menu Link Attributes

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • menu_link_content Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Aug 2024
Latest release
1 week ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.10 Stable 8โ€“11 Oct 8, 2026
8.x-1.9 Stable 8โ€“11 Oct 8, 2026
8.x-1.8 Stable 8โ€“11 Oct 7, 2026
8.x-1.7 Stable 8โ€“11 Mar 23, 2026
8.x-1.6 Stable 8โ€“11 Dec 7, 2025
8.x-1.5 Stable 8โ€“11 Aug 28, 2024
8.x-1.4 Stable 8โ€“11 Aug 19, 2024