Closed yorkshire-pudding closed 3 days ago
It looks like clone_action_clone_form()
in clone.module
is not used. However the calls to _clone_node_prepare
all seem to set to TRUE
anyway.
I've added a PR that adds this option into the global settings and then gets the config value where this function is called.
@backdrop-contrib/bug-squad - as there is no maintainer, will you consider this?
@klonos @herbdool - as you've previously been involved in this issue queue I'm tagging you here.
When a node is cloned, the title is prefixed with "Clone of "
I wondered if this should be possible so searched the code base for the phrase. Lines 245-247 of clone.pages.inc
Searched for
$prefix_title
and found where it looks like it should be set: Within functionclone_action_clone_form($context)
Lines 301-306 of clone.moduleSeems to be other stuff in that function that gives the option for substituting strings in title or body. I can't see that function anywhere in the config screens. I could hack the module to remove the prefixing but that doesn't seem a sustainable way forward. Any ideas how to get this form to show up and take effect?