function print_epub_print_link in Printer, email and PDF versions 7.2
Implements hook_print_link().
5 calls to print_epub_print_link()
- print_epub_generate_path in print_epub/
print_epub.pages.inc - Gennerate a EPUB for a given Drupal path.
- print_epub_insert_link in print_epub/
print_epub.module - Auxiliary function to display a formatted EPUB version link.
- print_epub_menu in print_epub/
print_epub.module - Implements hook_menu().
- print_epub_settings in print_epub/
print_epub.admin.inc - Form constructor for the EPUB version module settings form.
- print_epub_variable_info in print_epub/
print_epub.module - Implements hook_variable_info().
File
- print_epub/
print_epub.module, line 17 - Displays Printer-friendly versions of Drupal pages.
Code
function print_epub_print_link() {
return array(
'format' => 'epub',
'text' => t('EPUB version'),
'description' => t('Display a EPUB version of this page.'),
'path' => 'printepub',
'class' => 'print-epub',
'icon' => 'epub_icon.png',
'module' => 'print_epub',
);
}