Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / views_ui / src / Form / AdvancedSettingsForm.php
index e4aa1c1f193d8bc9a7f13c26530557e6035e11ec..f6efde472934d0e041bd7069031e82867a9ff4d9 100644 (file)
@@ -78,7 +78,7 @@ class AdvancedSettingsForm extends ConfigFormBase {
         '#default_value' => array_filter($config->get('display_extenders')),
         '#options' => $options,
         '#type' => 'checkboxes',
-        '#description' => $this->t('Select extensions of the views interface.')
+        '#description' => $this->t('Select extensions of the views interface.'),
       ];
     }
 
@@ -103,7 +103,7 @@ class AdvancedSettingsForm extends ConfigFormBase {
    */
   public function cacheSubmit() {
     views_invalidate_cache();
-    drupal_set_message($this->t('The cache has been cleared.'));
+    $this->messenger()->addStatus($this->t('The cache has been cleared.'));
   }
 
 }