X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ffilter%2Fsrc%2FFilterFormatEditForm.php;h=b8decc138fa1cd980c8642e4467ae64c3308fe6d;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=8173a785c0a4d670839f347c6f426c0192625b20;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/web/core/modules/filter/src/FilterFormatEditForm.php b/web/core/modules/filter/src/FilterFormatEditForm.php index 8173a785c..b8decc138 100644 --- a/web/core/modules/filter/src/FilterFormatEditForm.php +++ b/web/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; }