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

yannickoo/menu_link_attributes

Repository files navigation

⚠️ 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.

About

💧 Contains the Menu Link Attributes module for Drupal.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages