[development] Resetting Drupal's menu cache

Matt Connolly matt at cabinetuk.com
Fri Jun 27 15:12:31 UTC 2008


Clearing cache data at the very bottom of the performance page did the  

The question was originally because you cannot disable core modules,  
such as "menu.module".

Thanks again,

On 27/06/2008, at 3:36 PM, Steven Jones wrote:

> Just clear the cache_menu table in the database.
> If you're on D6 this can be done on the 'performance' page in the
> admin section. Otherwise just resubmitting the modules page should
> work(?)
> Regards
> Steven Jones
> On Fri, Jun 27, 2008 at 3:32 PM, Matt Connolly <matt at cabinetuk.com>  
> wrote:
>> Hi all,
>> I've noticed that when you make a change to your MODULE_menu hook,  
>> that you
>> need to disable and re-enable the module before the changes are made
>> effective.
>> This is fine for my module because I can do that, but I want to  
>> make a
>> change to a core module (for example, make the weight of Logout  
>> 1000 so it
>> is always at the bottom).
>> The menu module is a core module and cannot be disabled, so how do  
>> I reset
>> this menu cache for core modules?
>> -Matt

More information about the development mailing list