You are here

function print_variable_info in Printer, email and PDF versions 7.2

Implements hook_variable_info().

File

./print.module, line 185
Displays Printer-friendly versions of Drupal pages.

Code

function print_variable_info($options) {
  $link = print_print_link();
  $variable['print_html_link_text'] = array(
    'title' => t('Printer-friendly version'),
    'description' => t('Text used in the link to the printer-friendly version.'),
    'type' => 'string',
    'default' => t($link['text']),
  );
  return $variable;
}