function student_priority_menu

7.x student_priority.module student_priority_menu()
6.x student_priority.module student_priority_menu()

File

modules/student_priority/student_priority.module, line 9

Code

function student_priority_menu() {

  $items = array();


  $items ["student-profile/priority-calculations"] = array(
    "title" => "Priority Calculations",
    "page_callback" => "student_priority_display_priority_calculations_page",
    "access_callback" => "system_can_access_student", // make sure we are allowed to access the student specified by current_student_id.
    "type" => MENU_TYPE_TAB,
    "tab_family" => "priority-calculations",
    "page_settings" => array(
      "display_currently_advising" => TRUE,
      "screen_mode" => "not_advising",
    ),
  );


  return $items;
}