summaryrefslogtreecommitdiffstats
path: root/core/modules/config_translation/src/Form/ConfigTranslationAddForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/config_translation/src/Form/ConfigTranslationAddForm.php')
-rw-r--r--core/modules/config_translation/src/Form/ConfigTranslationAddForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/config_translation/src/Form/ConfigTranslationAddForm.php b/core/modules/config_translation/src/Form/ConfigTranslationAddForm.php
index 812b1a1..8b3f4a8 100644
--- a/core/modules/config_translation/src/Form/ConfigTranslationAddForm.php
+++ b/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()]));
}
}