- 🇫🇷France Grimreaper France 🇫🇷
Also this would allow to make query conditions on this field.
For example, I am currently trying to add a warning message during form validation to warn if the same simple megamenu content entity is referenced multiple times and avoid recursive rendering.
- 🇩🇪Germany Anybody Porta Westfalica
@grimreaper: FYI we're now using paragraphs instead of simple_megamenu as it's more flexible.
- 🇫🇷France Grimreaper France 🇫🇷
@anybody, thanks for sharing your tips.
How do you reference your paragraphs from your menu links? With an additional contrib module?
Currently, simple_megamenu + Layout Builder + Layout Builder Asymetric Translation is giving me the flexibility I need on my projects.
- 🇩🇪Germany Anybody Porta Westfalica
@grimreaper exactly! We're using https://www.drupal.org/project/menu_item_extras → to have them fieldable.
There are many ways to Rome :)
- 🇫🇷France flocondetoile Lyon
Open to add a base field (type reference) on the menu_link_content entity and swicth the storage on this field.