1.20.x views_ui.admin.inc | views_ui_tools_clear_cache() |
Submit hook to clear the views cache.
File
- modules/
views_ui/ views_ui.admin.inc, line 4676 - 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.'));
}