Mercurial > hg > isophonics-drupal-site
diff core/modules/user/src/ProfileForm.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children | af1871eacc83 |
line wrap: on
line diff
--- a/core/modules/user/src/ProfileForm.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/modules/user/src/ProfileForm.php Thu Feb 28 13:21:36 2019 +0000 @@ -38,7 +38,7 @@ $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.')); } /**