You are here

function course_book_menu in Course 7

Same name and namespace in other branches
  1. 8.3 modules/course_book/course_book.module \course_book_menu()
  2. 8.2 modules/course_book/course_book.module \course_book_menu()
  3. 7.2 modules/course_book/course_book.module \course_book_menu()
  4. 3.x modules/course_book/course_book.module \course_book_menu()

Implements hook_menu().

File

modules/course_book/course_book.module, line 25

Code

function course_book_menu() {
  $items = array();
  $items['admin/course/book'] = array(
    'access arguments' => array(
      'administer courses',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'course_book_admin',
    ),
    'type' => MENU_LOCAL_TASK,
    'title' => 'Book',
  );
  return $items;
}