You are here

function node_field_clone_node_alter in Node Field 7.2

Implements hook_clone_node_alter().

Node clone module support.

File

./node_field.module, line 372
This module provide ability to add extra fields to any single node.

Code

function node_field_clone_node_alter(&$node, $context) {

  // Save id of original node to be used on node insert.
  $node->node_field_clone = $context['original_node']->nid;
}