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.
It would be nice if I could easily get to all the menu items in the 'devel' menu like theme registry, enter PHP, etc, from admin_menu.
Comment | File | Size | Author |
---|---|---|---|
#3 | admin_menu.devel_.3.patch | 902 bytes | sun |
#3 | interdiff.txt | 711 bytes | sun |
#1 | 1899474-devel-entire-menu.patch | 1.11 KB | Dave Reid |
#1 | Selection_028.png | 23.82 KB | Dave Reid |
Comments
Comment #1
Dave ReidPatch with screenshot attached. It degrades nicely if you don't have access to any devel menu items, hiding the top-level 'Devel' item.
Comment #2
Dave ReidPersonally I think this a much better solution than hard-coding one devel item, with a hard-coded permission string. Let me know what you think sun!
Comment #3
sunMakes sense to me. Now that I see it, I wondered why we didn't do this earlier. ;)
Only minimal adjustments:
- Make the new 'Development' item come after 'Flush all caches', as before.
- Leverage
menu_link_tree()
like we do for injecting the node/add tree.Comment #4
sunThanks for reporting, reviewing, and testing! Committed to 7.x-3.x and 8.x-3.x.
(Forgot to update my git index prior to commit, so #3 was a separate follow-up commit... ;))
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Comment #5
jibranRelated #1817106: Make devel menu items more accessible