You are here

function node_recur_node_recur_confirm_submit in Node recur 7.2

Same name and namespace in other branches
  1. 7 node_recur.pages.inc \node_recur_node_recur_confirm_submit()

Submit the node recur confirmation form

1 string reference to 'node_recur_node_recur_confirm_submit'
node_recur_node_recur_confirm in ./node_recur.pages.inc
Confirm form for node recur

File

./node_recur.pages.inc, line 213

Code

function node_recur_node_recur_confirm_submit(&$form, &$form_state) {

  // Log this action
  $opts = array(
    '%type' => $form['#node']->type,
    '%title' => check_plain($form['#node']->title),
    '%count' => isset($form['#start_dates']) ? count($form['#start_dates']) : 0,
  );
  watchdog('node_recur', t('Recurring the %type "%title" %count times.', $opts));

  // Start the batch
  node_recur_node_batch_start($form['#node'], $form_state['values']['node_recur_date_values']);
}