You are here

function views_ui_tools_clear_cache in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 8.3 views_ui/admin.inc \views_ui_tools_clear_cache()
  2. 6.3 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_tools in includes/admin.inc
Page callback for the tools - other page

File

includes/admin.inc, line 2931
admin.inc Provides the Views' administrative interface.

Code

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