Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Form / ConfigFormBase.php
index e7878a7db0452f860908ca5531452512feaeedae..707e580d5a6d822251109bb131fc5fc6c6733cf8 100644 (file)
@@ -51,7 +51,7 @@ abstract class ConfigFormBase extends FormBase {
    * {@inheritdoc}
    */
   public function submitForm(array &$form, FormStateInterface $form_state) {
-    drupal_set_message($this->t('The configuration options have been saved.'));
+    $this->messenger()->addStatus($this->t('The configuration options have been saved.'));
   }
 
 }