You are here

function views_ui_admin_tools_submit in Views (for Drupal 7) 5

File

./views_ui.module, line 343

Code

function views_ui_admin_tools_submit($form_id, $form) {
  if ($_POST['op'] == t('Clear views cache')) {
    views_invalidate_cache();
    drupal_set_message("The Views cache has been cleared.");
  }
}