Problem/Motivation

It would be nice if the masquerade routes are marked as admin routes. This will ensure that these routes will be rendered in the admin theme. Also when using https://www.drupal.org/project/admin_toolbar_messages, the masquerading messages will be displayed in the admin toolbar / navigation top bar.

Proposed resolution

Add the _admin_route option to all masquerade routes.

Remaining tasks

None

User interface changes

Masquerade routes will be rendered using admin theme.

API changes

None

Data model changes

None

CommentFileSizeAuthor
#3 3550429-2.patch894 bytescasey

Issue fork masquerade-3550429

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

casey created an issue. See original summary.

casey’s picture

Status: Active » Needs review
StatusFileSize
new894 bytes

I've added a MR.

Attached is a patch for safe usage with composer patches.