You are here

function print_print_link in Printer, email and PDF versions 7.2

Implements hook_print_link().

6 calls to print_print_link()
print_controller_html in ./print.pages.inc
Generate an HTML version of the printer-friendly page.
print_html_settings in ./print.admin.inc
Form constructor for the Printer-friendly pages HTML settings form.
print_insert_link in ./print.module
Auxiliary function to display a formatted Printer-friendly link.
print_menu in ./print.module
Implements hook_menu().
print_ui_node_view_alter in print_ui/print_ui.module
Implements hook_node_view_alter().

... See full list

File

./print.module, line 48
Displays Printer-friendly versions of Drupal pages.

Code

function print_print_link() {
  return array(
    'format' => 'html',
    'text' => t('Printer-friendly version'),
    'description' => t('Display a printer-friendly version of this page.'),
    'path' => 'print',
    'class' => 'print-page',
    'icon' => 'print_icon.png',
    'module' => 'print',
  );
}