This patch adds options (selectable from admin > settings > devel) to flush the menu cache and the filter cahce on each page load by someone with access devel information permissions.

It is for all those moments when you are developing a module, but cannot figure out why function X does not get parameter Y parsed, only to finc out that was due to a cached menu. Another case would be, when you want to develop and devug a filter, without having to have a SSH/phpmyadmin open, to flush the filter cache everytime.

It also replaces some slects (Disable Enable in a select is very bad UI design) with checkboxes.

CommentFileSizeAuthor
devel_module_flushcache.patch3.39 KBBèr Kessels
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

moshe weitzman’s picture

looks good. please apply the patch.

if you are inspired to submit another patch, core really neads to have a 'fluch cache' button in admin/settings. that button should perform a cache_clear_all()

Bèr Kessels’s picture

the flush cache button should best go into another feature request. And unfortunately I have no ttime for this.

TDobes’s picture

Incompatible with recent _init hook changes, so rolled back; reopening.
See http://drupal.org/cvs?commit=11807

Bèr Kessels’s picture

we have this as menu-links now.

Anonymous’s picture