Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4019422
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:06:09+00:00 2026-05-20T10:06:09+00:00

In Drupal 7.0, when I change a routing path/menu from the type MENU_NORMAL_ITEM to

  • 0

In Drupal 7.0, when I change a routing path/menu from the type MENU_NORMAL_ITEM to the type MENU_CALLBACK, Drupal 7.0 does not remove the item from the menu_links table. I’m not sure if this is a bug or not, but I’ve filed one with the core team.

With that context in place, is there a way to force Drupal to do a rebuild of all its navigation menus? The bug I’ve described above is happening even when I clear out Drupal’s cache after changing a Menu item.

I know I can rename an individual menu route, clear cache/refresh, and then name the item back to get any individual route/menu link flushed. I’m looking for a single command I can run (or function to call, or set of commands) and know all the menu navigation is up to date without worrying I’ve hosed some other part of the system by messing with internals.

Does this exist? If you’re going to mention drush or devel, you’re awesome, but specific instructions on those tools are what I’m after.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T10:06:09+00:00Added an answer on May 20, 2026 at 10:06 am

    Note that although there are options to rebuild the menu (see the other answers), these might or might not work to clean up issues with menu links.

    Rebuilding the menu just rebuilds the menu router items and the menu links as far as they are automatically generated based on the menu router items. There are known issues with that, for example re-parenting menu links (http://drupal.org/node/550254). If menu links have been customized or added manually (or Drupal thinks they have been changed.. ), then these will not be touched.

    As mentioned in another question already, the tight coupling between these two systems will probably be changed in D8 so that you will have to declare menu links separatly from menu router items.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the built-in Path module to change Drupal Page links from a format
My drupal site (internal) will not display the TinyMCE editor when using Google Chrome
how can I change my Drupal filesystem root in the database ? I moved
I'm an IPhone developer who wants to change to Drupal developement. I have already
I cannot change the css theme of my Drupal View. This is a screenshots
In drupal, how can I change the permissions on a single page or story?
How do you change the QTY (quantity) label in UberCart (in Drupal) without actually
I need to change the layout of the Search Block in Drupal. It’s currently
How do I change an exposed views filter in Drupal 6 to checkboxes instead
I want to change the owner of my files directory on Drupal, but.. what's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.