Problem/Motivation
At /admin/appearance since many Drupal versions there's the option
Use the administration theme when editing or creating content
Control which roles can "View the administration theme" on the Permissions page.
But there's no such option for users or other entities, while in certain situations, especially for community projects (communities, social networks, social intranets, ...) the user pages are at least as important as node pages. They should have the same option.
Steps to reproduce
Proposed resolution
Implement the same option at /admin/appearance but for user pages:
Use the administration theme when editing or creating users
Remaining tasks
- Discuss, if this would make sense to select per entity type or for other entity types like taxonomy terms
- Implement with tests
- Review
- Release
User interface changes
/admin/appearance has a new option
Use the administration theme when editing or creating users
to control whether the user profile create and edit form should be shown in the admin theme or default theme.
API changes
Data model changes
Release notes snippet
Links
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | user-edit-theme.png | 35.77 KB | anybody |

Comments
Comment #2
anybodyComment #3
anybodyThoughts? Would already have made sense in many projects for us. Currently, elevated users have to masquerade as users who are not allowed to see the admin theme to see the user (create /) edit form like every user should see them.
Of course, typically the user create form is used by elevated users. The user edit form is especially affected by editing the elevated user's own user profile!
Comment #4
anybodyComment #5
anybodyComment #6
lauriiiThis definitely is a valid use case and I can see how this could be important to some sites. However, majority of the sites rely on the defaults, and for that reason we have been thinking more in line of removing this functionality altogether from core, and relying on something like https://www.drupal.org/project/theme_switcher to do this.
Comment #7
anybodyThanks @lauriii yes, I totally agree that would be the other option. Is there any issue for the removal we could link here?