You are here

function clone_node_confirm_submit in Node clone 5

Same name and namespace in other branches
  1. 6 clone.pages.inc \clone_node_confirm_submit()
  2. 7 clone.pages.inc \clone_node_confirm_submit()

Handle confirm form submission

File

./clone.module, line 173

Code

function clone_node_confirm_submit($form_id, $form_values) {
  if ($form_values['confirm']) {
    clone_node($form_values['nid']);
  }
  return '';
}