summaryrefslogtreecommitdiffstats
path: root/core/modules/search/src/Form/SearchPageEditForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/search/src/Form/SearchPageEditForm.php')
-rw-r--r--core/modules/search/src/Form/SearchPageEditForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/search/src/Form/SearchPageEditForm.php b/core/modules/search/src/Form/SearchPageEditForm.php
index afbcfbc..28fda7f 100644
--- a/core/modules/search/src/Form/SearchPageEditForm.php
+++ b/core/modules/search/src/Form/SearchPageEditForm.php
@@ -26,7 +26,7 @@ class SearchPageEditForm extends SearchPageFormBase {
public function save(array $form, FormStateInterface $form_state) {
parent::save($form, $form_state);
- drupal_set_message($this->t('The %label search page has been updated.', ['%label' => $this->entity->label()]));
+ $this->messenger()->addStatus($this->t('The %label search page has been updated.', ['%label' => $this->entity->label()]));
}
}