You are here

function views_invalidate_cache in Views (for Drupal 7) 5

Same name and namespace in other branches
  1. 8.3 views.module \views_invalidate_cache()
  2. 6.3 views.module \views_invalidate_cache()
  3. 6.2 views.module \views_invalidate_cache()
  4. 7.3 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_edit_view_submit in ./views_ui.module
Handle submit buttons on a view form.
views_form_alter in ./views.module
views_menu in ./views.module
Implementation of hook_menu()
views_taxonomy in ./views.module
Invalidate the views cache when taxonomy vocabulary changes.
views_ui_admin_tools_submit in ./views_ui.module

File

./views.module, line 822

Code

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