Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 1.06 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.06 KB

⚠️ The repository has been moved to drupal.org / Issues can be created here ⚠️


Menu Link Attributes

Allows you to add attributes to your menu links.

Installation

  1. Install the module the drupal way
  2. Edit a menu item and edit attributes
  3. Add more attributes if needed on configuration page
  4. Grant Administer menu link attributes permission to users which should be able to edit menu link attributes

Container attributes

In order to provide attributes for the wrapping <li> element you can either:

  • Create an attribute starting with container_, those will be used as container attribute automatically
  • Create an attribute and set container: true

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.