Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / views_ui / admin.inc
index a2d9fedcbc1c7cd1458586553bef8627fcb8c3e5..63c61902c48fab1db607526da275cae370fbf040 100644 (file)
@@ -255,7 +255,8 @@ function views_ui_standard_display_dropdown(&$form, FormStateInterface $form_sta
 
   $form['override']['dropdown'] = [
     '#type' => 'select',
-    '#title' => t('For'), // @TODO: Translators may need more context than this.
+    // @TODO: Translators may need more context than this.
+    '#title' => t('For'),
     '#options' => $display_dropdown,
   ];
   if ($current_display->isDefaulted($section)) {
@@ -285,7 +286,7 @@ function views_ui_build_form_url(FormStateInterface $form_state) {
   $route_parameters = [
     'js' => $ajax,
     'view' => $name,
-    'display_id' => $display_id
+    'display_id' => $display_id,
   ];
   $url = Url::fromRoute($route_name, $route_parameters);
   if ($type = $form_state->get('type')) {