function print_pdf_variable_info in Printer, email and PDF versions 7.2
Implements hook_variable_info().
File
- print_pdf/
print_pdf.module, line 137 - Displays Printer-friendly versions of Drupal pages.
Code
function print_pdf_variable_info($options) {
$link = print_pdf_print_link();
$variable['print_pdf_link_text'] = array(
'title' => t('PDF version'),
'description' => t('Text used in the link to the PDF version.'),
'type' => 'string',
'default' => t($link['text']),
);
return $variable;
}