function pdf_menu in PDF 6
Implementation of hook_menu().
File
- ./
pdf.module, line 6
Code
function pdf_menu() {
$items = array();
$items['pdf/worker_loader.js'] = array(
'page callback' => 'pdf_worker_loader_js',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['file/pdf_viewer/%node'] = array(
//%node to make a node_load
'page callback' => 'pdf_js_viewer',
'page arguments' => array(
2,
),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}