Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / config_translation / src / Form / ConfigTranslationEditForm.php
index cdbd9b898c568de253a320b8e6733babfa492cab..8754d916509b71a1e8c76f3636d340646c67404c 100644 (file)
@@ -36,7 +36,7 @@ class ConfigTranslationEditForm extends ConfigTranslationFormBase {
    */
   public function submitForm(array &$form, FormStateInterface $form_state) {
     parent::submitForm($form, $form_state);
-    drupal_set_message($this->t('Successfully updated @language translation.', ['@language' => $this->language->getName()]));
+    $this->messenger()->addStatus($this->t('Successfully updated @language translation.', ['@language' => $this->language->getName()]));
   }
 
 }