function print_mail_variable_info in Printer, email and PDF versions 7.2
Implements hook_variable_info().
File
- print_mail/
print_mail.module, line 105 - Displays Printer-friendly versions of Drupal pages.
Code
function print_mail_variable_info($options) {
$link = print_mail_print_link();
$variable['print_mail_link_text'] = array(
'title' => t('Send by email'),
'description' => t('Text used in the link to the send by email form.'),
'type' => 'string',
'default' => t($link['text']),
);
return $variable;
}