summaryrefslogtreecommitdiffstats
path: root/core/modules/language/src/Form/NegotiationBrowserDeleteForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/language/src/Form/NegotiationBrowserDeleteForm.php')
-rw-r--r--core/modules/language/src/Form/NegotiationBrowserDeleteForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/language/src/Form/NegotiationBrowserDeleteForm.php b/core/modules/language/src/Form/NegotiationBrowserDeleteForm.php
index 629fd08..1c7cdcb 100644
--- a/core/modules/language/src/Form/NegotiationBrowserDeleteForm.php
+++ b/core/modules/language/src/Form/NegotiationBrowserDeleteForm.php
@@ -76,7 +76,7 @@ class NegotiationBrowserDeleteForm extends ConfirmFormBase {
$this->logger('language')->notice('The browser language detection mapping for the %browser browser language code has been deleted.', $args);
- drupal_set_message($this->t('The mapping for the %browser browser language code has been deleted.', $args));
+ $this->messenger()->addStatus($this->t('The mapping for the %browser browser language code has been deleted.', $args));
$form_state->setRedirect('language.negotiation_browser');
}