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