User profile form to use admin theme

Created on 23 July 2019, over 5 years ago
Updated 14 November 2024, about 1 month ago

Hi All,

What would be the best way to force /user/{user}/{profile_type} to use the admin theme?

At the moment I'm adding the following option to profile.routing.yml

options:
  _admin_route: TRUE

It works, but it's a hacky, temporary solution, as I have to hardcode the actual module. Could you guys point me in the right direction?

Would it make sense to have a checkbox option in the back-end /admin/config/people/profile-types/manage/{profile_type} to determine whether a form should use the admin or the default theme?

Thanks

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇪Ireland b0gucki3 Limerick

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024