Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Menu Link Attributes

84,866 sites Security covered Drupal 8–11
View on drupal.org

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

Depends on

Dependencies of the latest stable release

  • menu_link_content Drupal core

Required by

1 tracked project depends on this one

Activity

Tracked releases
2
Tracked since
Dec 2025
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
8.x-1.7 Stable 8–11 Mar 23, 2026
8.x-1.6 Stable 8–11 Dec 7, 2025