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_settings_advanced in includes/admin.inc
Form builder for the advanced admin settings page.

File

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

Code

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