summaryrefslogtreecommitdiffstats
path: root/core/modules/user/src/ProfileForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/user/src/ProfileForm.php')
-rw-r--r--core/modules/user/src/ProfileForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/user/src/ProfileForm.php b/core/modules/user/src/ProfileForm.php
index c856b75..137868c 100644
--- a/core/modules/user/src/ProfileForm.php
+++ b/core/modules/user/src/ProfileForm.php
@@ -38,7 +38,7 @@ class ProfileForm extends AccountForm {
$account->save();
$form_state->setValue('uid', $account->id());
- drupal_set_message($this->t('The changes have been saved.'));
+ $this->messenger()->addStatus($this->t('The changes have been saved.'));
}
/**