X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fconfig_translation%2Fsrc%2FForm%2FConfigTranslationDeleteForm.php;fp=web%2Fcore%2Fmodules%2Fconfig_translation%2Fsrc%2FForm%2FConfigTranslationDeleteForm.php;h=d420ee63dc5c85af46fc70b1bda7c986c27b3f60;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=273b26c9e55498d703c528cdd6855de216e81e46;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php b/web/core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php index 273b26c9e..d420ee63d 100644 --- a/web/core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php +++ b/web/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()); }