Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
on some cases I don't want to set id/class one by one for each of menu item and if module can provide option to add menu id to the id/class will be great.
Comments
Comment #1
Dave ReidThis would be a good idea. With the module now ported to D7, we can easily add token integration (and consider backporting it to D6).
Comment #2
Dave ReidComment #3
adam-delaney CreditAttribution: adam-delaney commented+1 for this feature
Comment #4
stevesmename CreditAttribution: stevesmename commentedHello, this is ready for testing. I was working on a project that could had used this and saw the flexibility it adds for other websites I build in the future.
Menu Token Attributes (sandbox)
First I saw this as a patch for the menu_attributes module, but after writing the steps that was involved I noticed this is better as a standalone module that is dependent on menu_attributes instead. Note menu_token module is not required but adds benefit so that all functionality in menu links can be tokenized.
Next step, is testing by the community and then applying for a project page. Cheers!