You are here

function views_ui_tools_clear_cache in Views (for Drupal 7) 8.3

Same name and namespace in other branches
  1. 6.3 includes/admin.inc \views_ui_tools_clear_cache()
  2. 6.2 includes/admin.inc \views_ui_tools_clear_cache()
  3. 7.3 includes/admin.inc \views_ui_tools_clear_cache()

Submit hook to clear the views cache.

1 string reference to 'views_ui_tools_clear_cache'
views_ui_admin_settings_advanced in views_ui/admin.inc
Form builder for the advanced admin settings page.

File

views_ui/admin.inc, line 2442
Provides the Views' administrative interface.

Code

function views_ui_tools_clear_cache() {
  views_invalidate_cache();
  drupal_set_message(t('The cache has been cleared.'));
}