You are here

function print_settings_default in Printer, email and PDF versions 5

Same name and namespace in other branches
  1. 5.2 print.module \print_settings_default()
5 calls to print_settings_default()
print_generate_node in ./print.module
Outputs a printer friendly page.
print_link in ./print.module
Implementation of hook_link().
print_main_settings in ./print.module
print_rewrite_urls in ./print.module
We need to manipulate URLs in two manners, depending on the state of the Printer Friendly URLs setting: 1. When on, we need to show the original URLs, making sure that they are absolute (even anchor names). 2. When off, relative URLs must be…
theme_print_link in ./print.module

File

./print.module, line 95
Display printer friendly versions of nodes (except books)

Code

function print_settings_default() {
  return array(
    'show_link' => 1,
    'logo_url' => '',
    'css' => '',
    'urls' => 1,
    'newwindow' => 0,
    'sendtoprinter' => 0,
  );
}