Skip to content
Commit 24ca4a46 authored by Derek Wright's avatar Derek Wright Committed by Peter Wolanin
Browse files

Bug #939016 by svendecabooter, dww: Cloned node ID not set via prepopulate.

This functionality was never finished at #654508. Previously, the only
way to know you were inserting a cloned node was if clone.module was
configured to use save-edit, not prepopulate. Now, we use
hook_form_alter() to inject a 'value' form element into the node form
so that $node->clone_from_original_nid is propagated all the way
through node_save() and friends to reach nodeapi('insert').
parent 41030e96
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment