function print_mail_print_link in Printer, email and PDF versions 7.2
Implements hook_print_link().
7 calls to print_mail_print_link()
- print_mail_form in print_mail/
print_mail.inc - Form constructor for the send by email form.
- print_mail_form_submit in print_mail/
print_mail.inc - Form submission handler for print_mail_form().
- print_mail_insert_link in print_mail/
print_mail.module - Auxiliary function to display a formatted send by email link.
- print_mail_menu in print_mail/
print_mail.module - Implements hook_menu().
- print_mail_settings in print_mail/
print_mail.admin.inc - Form constructor for the send by email module settings form.
File
- print_mail/
print_mail.module, line 21 - Displays Printer-friendly versions of Drupal pages.
Code
function print_mail_print_link() {
return array(
'format' => 'mail',
'text' => t('Send by email'),
'description' => t('Send this page by email.'),
'path' => 'printmail',
'class' => 'print-mail',
'icon' => 'mail_icon.png',
'module' => 'print_mail',
);
}