summaryrefslogtreecommitdiffstats
path: root/core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php')
-rw-r--r--core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php b/core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php
index 273b26c..d420ee6 100644
--- a/core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php
+++ b/core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php
@@ -142,7 +142,7 @@ class ConfigTranslationDeleteForm extends ConfirmFormBase {
$cache_backend->deleteAll();
}
- drupal_set_message($this->t('@language translation of %label was deleted', ['%label' => $this->mapper->getTitle(), '@language' => $this->language->getName()]));
+ $this->messenger()->addStatus($this->t('@language translation of %label was deleted', ['%label' => $this->mapper->getTitle(), '@language' => $this->language->getName()]));
$form_state->setRedirectUrl($this->getCancelUrl());
}