function node_clone_node_type_update in Node clone 8
Implementation of hook_node_type_update().
File
- ./
node_clone.module, line 61 - Allow users to make a copy of an item of content (a node) and then edit that copy.
Code
function node_clone_node_type_update($info) {
if (!empty($info->old_type) && $info->old_type != $info->type) {
// @FIXME
// // // The correct configuration object could not be determined. You'll need to
// // // rewrite this call manually.
// // variable_del('node_clone_reset_' . $info->old_type);
//
// variable_set('node_clone_reset_' . $info->type, TRUE);
// }
}
}