You are here

function print_mail_form_cancel in Printer, email and PDF versions 5.x

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

Process the send by-email form cancel submission.

File

print_mail/print_mail.inc, line 396

Code

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