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".

CommentFileSizeAuthor
#2 quick_node_clone-admin-theme-3311078-0.patch462 bytesu7aro
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

u7aro created an issue. See original summary.

u7aro’s picture

StatusFileSize
new462 bytes

By 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.

aharown07’s picture

Thanks 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?

bluegeek9 made their first commit to this issue’s fork.

  • bluegeek9 committed 5c4898ca on 8.x-1.x
    Issue #3311078: Switch between themes following the setting option
    
bluegeek9’s picture

Status: Active » Fixed
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support to this project makes other volunteer contributions more sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:
  • Triaging issues and adding more context to existing issues.
  • Writing documentation or patches for this project.

Status: Fixed » Closed (fixed)

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