- Issue created by @dasginganinja
- πΊπΈUnited States kevin w
Very helpful patch. I had to change `reset(array_keys($group_menus))` into `array_key_first($group_menus)` to avoid the PHP warning "Only variables should be passed by reference".
- πΊπΈUnited States dasginganinja Bethlehem, PA
Thank you for your changefix! I can confirm that works for me as well on version 3.x.
I just upgraded a site Group 1 to Group 2.x and have started using GCM V2.x on that site. I needed to create a patch with this functionality that worked for that version of the module, so I used your patch from #4 as the basis.
This is a reroll of #4 against 2.x.
- πΊπΈUnited States dasginganinja Bethlehem, PA
Setting to needs review.
I re-rolled #4 against the 3.0.6 release of Group Content Menu.
This was necessitated by the work done for https://www.drupal.org/node/3515714 β which moved the updateMenuElement function into a NodeFormAlter class.
- heddn Nicaragua
Be nice if we could add tests and the toggle for this functionality as mentioned in the IS.