summaryrefslogtreecommitdiffstats
path: root/core/modules/filter/src/FilterFormatEditForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/filter/src/FilterFormatEditForm.php')
-rw-r--r--core/modules/filter/src/FilterFormatEditForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/filter/src/FilterFormatEditForm.php b/core/modules/filter/src/FilterFormatEditForm.php
index 8173a78..b8decc1 100644
--- a/core/modules/filter/src/FilterFormatEditForm.php
+++ b/core/modules/filter/src/FilterFormatEditForm.php
@@ -31,7 +31,7 @@ class FilterFormatEditForm extends FilterFormatFormBase {
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
- drupal_set_message($this->t('The text format %format has been updated.', ['%format' => $this->entity->label()]));
+ $this->messenger()->addStatus($this->t('The text format %format has been updated.', ['%format' => $this->entity->label()]));
return $this->entity;
}