This patch allows hook_clone_node_alter to return a form ID string, which will be used to load the node into.
If a form ID is not returned the $node->type . '_node_form' form is used.
This is useful if you have custom node forms on your site.
| Comment | File | Size | Author |
|---|---|---|---|
| node_clone_custom_node_form.patch | 793 bytes | agileware |
Comments
Comment #1
pwolanin commented_alter hooks should not have a return value.
This seems a bit edge case too.
Comment #2
deekayen commentedChanging to a more likely version, if it's ever going to be committed.
Comment #3
pwolanin commented