You are here

function print_epub_variable_info in Printer, email and PDF versions 7.2

Implements hook_variable_info().

File

print_epub/print_epub.module, line 80
Displays Printer-friendly versions of Drupal pages.

Code

function print_epub_variable_info($options) {
  $link = print_epub_print_link();
  $variable['print_epub_link_text'] = array(
    'title' => t('EPUB version'),
    'description' => t('Text used in the link to the EPUB version.'),
    'type' => 'string',
    'default' => t($link['text']),
  );
  return $variable;
}