function views_ui_tools_clear_cache

3.x admin.inc views_ui_tools_clear_cache()
2.x 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 2934
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.'));
}