function student_profile_menu

6.x student_profile.module student_profile_menu()

Implements hook_menu

File

modules/student_profile/student_profile.module, line 10

Code

function student_profile_menu() {
  $items = array();


  $items ["student-profile"] = array(
    "title" => "Student Profile",
    "page_callback" => "student_profile_display_student_profile_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" => "system",
    "weight" => 10,
    "page_settings" => array(
      "display_currently_advising" => FALSE,
      "screen_mode" => "not_advising",
    ),
  );







  return $items;
}