summaryrefslogtreecommitdiffstats
path: root/core/modules/views_ui/src/ViewEditForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/views_ui/src/ViewEditForm.php')
-rw-r--r--core/modules/views_ui/src/ViewEditForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/views_ui/src/ViewEditForm.php b/core/modules/views_ui/src/ViewEditForm.php
index cea587e..124795a 100644
--- a/core/modules/views_ui/src/ViewEditForm.php
+++ b/core/modules/views_ui/src/ViewEditForm.php
@@ -325,7 +325,7 @@ class ViewEditForm extends ViewFormBase {
$view->save();
- drupal_set_message($this->t('The view %name has been saved.', ['%name' => $view->label()]));
+ $this->messenger()->addStatus($this->t('The view %name has been saved.', ['%name' => $view->label()]));
// Remove this view from cache so we can edit it properly.
$this->tempStore->delete($view->id());