- Issue was unassigned.
- Status changed to Needs review
about 2 years ago 12:53pm 30 March 2023 Hi guys, any updates here?
Can somebody check my changes?
Thank you in advance- 🇵🇹Portugal jcnventura
This is complex enough that others should mark it as RTBC..
- Status changed to Needs work
about 1 year ago 9:20am 14 May 2024 - Status changed to Needs review
8 months ago 1:48pm 18 September 2024 @anybody I've resolved the merge error, so MR is mergeable now
- Status changed to Needs work
8 months ago 3:45pm 18 September 2024 - 🇩🇪Germany Anybody Porta Westfalica
Thanks! I guess what's finally needed now, are tests.
- 🇩🇪Germany Anybody Porta Westfalica
@grevil: Could you finally review this by time? Thanks!
- Assigned to Grevil
- Status changed to Needs review
about 1 month ago 1:54pm 15 April 2025 - 🇩🇪Germany yannickoo Berlin
Hey! First of all thanks for the contribution!
I'm currently reviewing the MR and I think this modules should provide attribute for the menu links (which covers the
<li>
and the<a>
elements. I don't see big reasons to allow site managers to add attributes to the<ul>
element itself and those could be rather added via a dedicatedmenu.html.twig
file.What do you think?
Sometimes it's important to add a class to a menu list element without coding, so I believe this would be a valuable improvement.
So, can somebody check my changes?
Thank you in advance- 🇩🇪Germany Grevil
When I apply the patch, update the db and add a new link, I get the following error:
TypeError: _menu_link_attributes_add_attributes(): Argument #2 ($options) must be of type array, null given, called in /var/www/html/web/modules/custom/menu_link_attributes/menu_link_attributes.module on line 36 in _menu_link_attributes_add_attributes() (line 47 of modules/custom/menu_link_attributes/menu_link_attributes.module).
- 🇩🇪Germany Anybody Porta Westfalica
Feedback from @thomas.frobieter: Fine to merge this once ready.