I have a custom module that adjusts a field in the new node under certain circumstances; it implements hook_clone_node_alter(). In order to get access to the right information, I had to add a field to the context array passed into the drupal_alter() on line 279 of clone.module.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2616506-1-node_clone-pass-clone-context.patch | 542 bytes | rgristroph |
Comments
Comment #2
rgristroph commentedThis is the patch.
Comment #3
rgristroph commentedComment #4
pwolanin commentedlooks reasonable
Comment #5
pwolanin commented