'example_menu', 'title' => $t('Example menu'), 'description' => $t('A menu created to put some example entries in it'), ); /** * menu_save() actually creates the menu. */ menu_save($menu); } /** * Implements hook_uninstall(). * * Remove our custom created menu. * * @see menu_load() * @see menu_delete() * @link menu Menu System @endlink */ function menu_example_uninstall() { // Load our custom menu. $menu = menu_load('example_menu'); // At this point we can change the menu entry and save again, but in this case // we are only interested in removing it. menu_delete($menu); }