You are here

function clone_node_check in Node clone 5

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

Menu callback: prompt the user to confirm the operation

1 string reference to 'clone_node_check'
clone_menu in ./clone.module
Implementation of hook_menu().

File

./clone.module, line 148

Code

function clone_node_check() {
  if (variable_get('clone_nodes_without_confirm', FALSE)) {
    clone_node(arg(1));
    return;
  }
  return drupal_get_form('clone_node_confirm');
}