You are here

function print_pdf_tcpdf_menu in Printer, email and PDF versions 7.2

Implements hook_menu().

File

print_pdf/lib_handlers/print_pdf_tcpdf/print_pdf_tcpdf.module, line 63
Generate a PDF for the print_pdf module using the TCPDF library.

Code

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