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