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.
Hi,
Thanks for the module! I have a feature request...
The Menu Item Extras module allows you to use the field UI to attach fields to menu_link_content entities with the bundle being set by the menu. At the moment it looks like multiversion won't work with it because it overrides the entity class (as does menu_item_extras).
I was wondering if you would consider offering support for it? Thanks in advance for your thoughts and time!
Comment | File | Size | Author |
---|---|---|---|
#8 | multiversion-menu_item_extras-3026961-8.patch | 7.61 KB | suzymasri |
| |||
#4 | multiversion-menu_item_extras-3026961-3-D8.patch | 9.12 KB | AndyF |
Comments
Comment #2
AndyF CreditAttribution: AndyF at Fabb for Unipro Ltd commentedHere's an initial patch, feedback most welcome - and I appreciate you might prefer to keep support outside of the (main) module. I've ported MenuLinkTest from simpletest to PhpUnit (well I say ported, it just worked!) but have left the old one in just so we can check everything runs green before perhaps removing it. (I ported it in order to extend it for a new basically identical test that runs with the menu item extras module enabled - I thought that made more sense than making a new simple test?)
Thanks again!
Comment #4
AndyF CreditAttribution: AndyF at Fabb for Unipro Ltd commentedSorry, my bad, git snafu, fingers crossed for the second go (:
(no interdiff please ignore first patch)
Comment #5
AndyF CreditAttribution: AndyF at Fabb for Unipro Ltd commentedI've attached the exact same patch made against the beta28 release (ie with packaged info file) for CI.
Comment #6
BramDriesenI tested the patch but it didn't seem to work for me. The fields added from the menu_items_extra module are not being shown on the menu item edit page. +1 for this request though.
Comment #7
BramDriesenThis also needs a re-roll I think based on the core changes to the menu item storage (8.7.x) and this issue #3053970: Regression Drupal 8.7.x menu_ui broken with Multiverson not working with the core changes.
Comment #8
suzymasriPatch #4 re-rolled against beta33 release.