Problem/Motivation
The clone node form use the administration theme even if you enable the option "Use the administration theme when editing or creating content" in the theme settings.
Some sites want to use the default theme.
Proposed resolution
Switch between themes following the setting option "Use the administration theme when editing or creating content".
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | quick_node_clone-admin-theme-3311078-0.patch | 462 bytes | u7aro |
Issue fork quick_node_clone-3311078
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
Comment #2
u7aroBy removing the _admin_route option in quick_node_clone.routing.yml and setting the _node_operation_route option to TRUE, the Node module's event subscriber will handle it properly.
Comment #3
aharown07 commentedThanks for the patch!
Working perfectly on my build. 8.x-1.16
I'm not sure what the rules are for marking an issue RTBC, so... will leave as is, but would love to see this go into next release so I don't have to keep patching it. Also, this seems like a bug to me. Shouldn't the module respect the 'Use the administration theme when editing or creating content' checkbox setting?
Comment #7
bluegeek9 commented