When Devel module is enabled, it's configuration page is admin/config/development/devel, and a "Devel settings" links appear on
- The Development panel on the main configuration landing page at
admin/configuration - The Development configuration sub-page at
admin/config/development
When admin_toolbar_tools module is enabled, the "Devel settings" link disappears from these pages.
It also disappears from the drop-down menu provided by admin_toolbar, and the vertical toolbar tray provided by Core Toolbar module.
You can still access the devel settings page via the module's configure link on the admin/modules page.
It looks like admin_toolbar_tools moves the Devel settings menu link from it's original location, into the D8 icon menu.
I think it would be better if the Devel settings menu item remained in it's expected location, and an extra copy was placed in the D8 icon menu.
Comments
Comment #2
andrewmacpherson commentedComment #3
colanComment #4
mattshoafI was playing around with this, thought it would be helpful to clarify that this behavior only happens when Admin Toolbar Extra Tools is enabled. Devel config stays where expected when the parent Admin Toolbar only is enabled.
In
admin_toolbar_tools.moduleon line 368, I found where the new menu item is created:This is all inside
function admin_toolbar_tools_menu_links_discovered_alter(&$links), which alters the link definitions, and I'm not finding how to duplicate the links instead. Easiest fix is to comment out/remove lines 375-380Which would keep the Devel Settings on the
/admin/configpage. If someone can point me to how to duplicate menu items instead of altering the link definitions, I'll take a pass at this patch.Comment #6
romainj commentedNow the Admin Toolbar Extra Tools module adds those links without changing existant one. Thanks to andrewmacpherson, colan and mattshoaf.
Comment #7
romainj commentedComment #8
romainj commented