summaryrefslogtreecommitdiffstats
path: root/core/modules/path/src/Form/PathFormBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/path/src/Form/PathFormBase.php')
-rw-r--r--core/modules/path/src/Form/PathFormBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/path/src/Form/PathFormBase.php b/core/modules/path/src/Form/PathFormBase.php
index 5a54c08..2aa785c 100644
--- a/core/modules/path/src/Form/PathFormBase.php
+++ b/core/modules/path/src/Form/PathFormBase.php
@@ -212,7 +212,7 @@ abstract class PathFormBase extends FormBase {
$this->aliasStorage->save($source, $alias, $langcode, $pid);
- drupal_set_message($this->t('The alias has been saved.'));
+ $this->messenger()->addStatus($this->t('The alias has been saved.'));
$form_state->setRedirect('path.admin_overview');
}