Drupal hook_menu from module for admin menu
问题 I have a custom module "menu_mods" for adding menu items to the admin menu. It's not adding it. I want the link to show in the Navigation menu. I'm using the Garland theme for the admin pages. Here is my module code: function menu_mods_menu() { $items = array(); $items['admin/editfrontpage']=array( 'title'=>'Edit Homepage', 'description'=>'Edit Homepage.', 'page callback' => 'edit_front_page', 'access callback' => TRUE, 'type' => MENU_NORMAL_ITEM ); } function edit_front_page(){ $frontPageUrl