I don't understand why it redirects to admin/structure/menu/. Can't we just hide that item if devel module isn't enabled?

CommentFileSizeAuthor
#1 admin_toolbar-dev-link-2533450-1.patch2.83 KBtwistor

Comments

twistor’s picture

Status: Active » Needs review
StatusFileSize
new2.83 KB

This makes the Development link conditional.

It also changes it to /admin/config/development.

Ideally, this would not be a link, and just a menu item with sub-items, but adding that feature is more complicated.
Also ideally, this should use a deriver class, but also out of scope for this issue.

twistor’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.