summaryrefslogtreecommitdiffstats
path: root/core/modules/language/src/Form/NegotiationConfigureForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/language/src/Form/NegotiationConfigureForm.php')
-rw-r--r--core/modules/language/src/Form/NegotiationConfigureForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/language/src/Form/NegotiationConfigureForm.php b/core/modules/language/src/Form/NegotiationConfigureForm.php
index 325a435..806123f 100644
--- a/core/modules/language/src/Form/NegotiationConfigureForm.php
+++ b/core/modules/language/src/Form/NegotiationConfigureForm.php
@@ -204,7 +204,7 @@ class NegotiationConfigureForm extends ConfigFormBase {
$this->blockManager->clearCachedDefinitions();
$form_state->setRedirect('language.negotiation');
- drupal_set_message($this->t('Language detection configuration saved.'));
+ $this->messenger()->addStatus($this->t('Language detection configuration saved.'));
}
/**