You are here

function pdfpreview_menu in PDFPreview 7

Same name and namespace in other branches
  1. 6 pdfpreview.module \pdfpreview_menu()
  2. 7.2 pdfpreview.module \pdfpreview_menu()

Implements hook_menu()

File

./pdfpreview.module, line 72
This file contains hooks for the pdfpreview module

Code

function pdfpreview_menu() {
  $items = array(
    'admin/config/media/pdfpreview' => array(
      'title' => 'PDF Preview',
      'description' => 'Configure PDF Preview settings',
      'access arguments' => array(
        'administer content',
      ),
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        '_pdfpreview_admin_settings',
      ),
      'type' => MENU_NORMAL_ITEM,
    ),
  );
  return $items;
}