You are here

function print_mail_form_cancel in Printer, email and PDF versions 6

Same name and namespace in other branches
  1. 5.x print_mail/print_mail.inc \print_mail_form_cancel()

Process the send by-email form cancel submission.

File

print_mail/print_mail.inc, line 424

Code

function print_mail_form_cancel($form, &$form_state) {
  $form_state['redirect'] = preg_replace('!^book/export/html/!', 'node/', $form_state['values']['path']);
}