You are here

function _scheduler_delete_row_confirm in Scheduler 7

Form constructor for the Scheduler Delete Row confirmation form.

See also

_scheduler_delete_row_confirm_submit()

1 string reference to '_scheduler_delete_row_confirm'
scheduler_menu in ./scheduler.module
Implements hook_menu().

File

./scheduler.admin.inc, line 658
Administration forms for the Scheduler module.

Code

function _scheduler_delete_row_confirm($form, &$form_state, $nid) {
  $form['nid'] = array(
    '#type' => 'value',
    '#value' => $nid,
  );
  $details = array(
    t('Are you sure you want to delete the Scheduler row for missing node @nid?', array(
      '@nid' => $nid,
    )),
  );
  $details[] = t('This action cannot be undone.');
  return confirm_form($form, $details[0], 'admin/content/scheduler', implode('<br>', $details), t('Delete'), t('Cancel'));
}