X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fconfig_translation%2Fsrc%2FForm%2FConfigTranslationEditForm.php;fp=web%2Fcore%2Fmodules%2Fconfig_translation%2Fsrc%2FForm%2FConfigTranslationEditForm.php;h=8754d916509b71a1e8c76f3636d340646c67404c;hp=cdbd9b898c568de253a320b8e6733babfa492cab;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/config_translation/src/Form/ConfigTranslationEditForm.php b/web/core/modules/config_translation/src/Form/ConfigTranslationEditForm.php index cdbd9b898..8754d9165 100644 --- a/web/core/modules/config_translation/src/Form/ConfigTranslationEditForm.php +++ b/web/core/modules/config_translation/src/Form/ConfigTranslationEditForm.php @@ -36,7 +36,7 @@ class ConfigTranslationEditForm extends ConfigTranslationFormBase { */ public function submitForm(array &$form, FormStateInterface $form_state) { parent::submitForm($form, $form_state); - drupal_set_message($this->t('Successfully updated @language translation.', ['@language' => $this->language->getName()])); + $this->messenger()->addStatus($this->t('Successfully updated @language translation.', ['@language' => $this->language->getName()])); } }