You are here

function print_pdf_wkhtmltopdf_menu in Printer, email and PDF versions 7.2

Implements hook_menu().

File

print_pdf/lib_handlers/print_pdf_wkhtmltopdf/print_pdf_wkhtmltopdf.module, line 29
Generate a PDF for the print_pdf module using the wkhtmltopdf library.

Code

function print_pdf_wkhtmltopdf_menu() {
  $items = array();
  $items['admin/config/user-interface/print/pdf/wkhtmltopdf'] = array(
    'title' => 'wkhtmltopdf',
    'description' => 'Configure the wkhtmltopdf options.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'print_pdf_wkhtmltopdf_settings',
    ),
    'access arguments' => array(
      'administer print',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'print_pdf_wkhtmltopdf.admin.inc',
  );
  return $items;
}