function print_pdf_print_new_window_alter in Printer, email and PDF versions 7.2
Implements hook_print_new_window_alter().
File
- print_pdf/
print_pdf.module, line 39 - Displays Printer-friendly versions of Drupal pages.
Code
function print_pdf_print_new_window_alter(&$new_window, $format) {
$new_window = variable_get('print_pdf_content_disposition', PRINT_PDF_CONTENT_DISPOSITION_DEFAULT) == 1;
}