public function AdvancedSettingsForm::cacheSubmit in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views_ui/src/Form/AdvancedSettingsForm.php \Drupal\views_ui\Form\AdvancedSettingsForm::cacheSubmit()
Submission handler to clear the Views cache.
File
- core/
modules/ views_ui/ src/ Form/ AdvancedSettingsForm.php, line 107 - Contains \Drupal\views_ui\Form\AdvancedSettingsForm.
Class
- AdvancedSettingsForm
- Form builder for the advanced admin settings page.
Namespace
Drupal\views_ui\FormCode
public function cacheSubmit() {
views_invalidate_cache();
drupal_set_message($this
->t('The cache has been cleared.'));
}