function views_invalidate_cache

3.x views.module views_invalidate_cache()
2.x views.module views_invalidate_cache()

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

4 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.
1 string reference to 'views_invalidate_cache'
views_drush_cache_clear in ./views.drush.inc
Adds a cache clear option for views.

File

./views.module, line 438
Primarily Drupal hooks and global API functions to manipulate views.

Code

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