function views_invalidate_cache

Same name in other branches
  1. 7.x-3.x views.module \views_invalidate_cache()

Invalidate the views cache, forcing a rebuild on the next grab of table data.

5 calls to views_invalidate_cache()
views_menu in ./views.module
Implementation of hook_menu().
views_ui_disable_page in includes/admin.inc
Page callback for the Views enable page
views_ui_enable_page in includes/admin.inc
Page callback for the Views enable page.
views_ui_tools_clear_cache in includes/admin.inc
Submit hook to clear the views cache.
_views_drush_changestatus in drush/views.drush.inc
1 string reference to 'views_invalidate_cache'
views_drush_cache_clear in drush/views.drush.inc
Adds a cache clear option for views.

File

./views.module, line 601

Code

function views_invalidate_cache() {
    cache_clear_all('*', 'cache_views', true);
}