summaryrefslogtreecommitdiffstats
path: root/core/modules/views_ui/src/Form/AdvancedSettingsForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/views_ui/src/Form/AdvancedSettingsForm.php')
-rw-r--r--core/modules/views_ui/src/Form/AdvancedSettingsForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/views_ui/src/Form/AdvancedSettingsForm.php b/core/modules/views_ui/src/Form/AdvancedSettingsForm.php
index e4aa1c1..534006c 100644
--- a/core/modules/views_ui/src/Form/AdvancedSettingsForm.php
+++ b/core/modules/views_ui/src/Form/AdvancedSettingsForm.php
@@ -103,7 +103,7 @@ class AdvancedSettingsForm extends ConfigFormBase {
*/
public function cacheSubmit() {
views_invalidate_cache();
- drupal_set_message($this->t('The cache has been cleared.'));
+ $this->messenger()->addStatus($this->t('The cache has been cleared.'));
}
}