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.

Comments

rgristroph created an issue. See original summary.

rgristroph’s picture

StatusFileSize
new542 bytes

This is the patch.

rgristroph’s picture

Status: Active » Needs review
pwolanin’s picture

looks reasonable

pwolanin’s picture

Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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