1 views_ui.admin.inc views_ui_tools_clear_cache()

Submit hook to clear the views cache.

File

core/modules/views_ui/views_ui.admin.inc, line 4673
Admin page callbacks for the Views UI module.

Code

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