summaryrefslogtreecommitdiffstats
path: root/core/modules/language/src/Form/ContentLanguageSettingsForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/language/src/Form/ContentLanguageSettingsForm.php')
-rw-r--r--core/modules/language/src/Form/ContentLanguageSettingsForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/language/src/Form/ContentLanguageSettingsForm.php b/core/modules/language/src/Form/ContentLanguageSettingsForm.php
index 619d944..5868d48 100644
--- a/core/modules/language/src/Form/ContentLanguageSettingsForm.php
+++ b/core/modules/language/src/Form/ContentLanguageSettingsForm.php
@@ -157,7 +157,7 @@ class ContentLanguageSettingsForm extends FormBase {
->save();
}
}
- drupal_set_message($this->t('Settings successfully updated.'));
+ $this->messenger()->addStatus($this->t('Settings successfully updated.'));
}
}