Commit 28cf2be4 authored by git's avatar git Committed by Dan Wilga
Browse files

Issue #3289566 by Rakhi Soni: Fix: phpcs --standard=Drupal error

parent 810ceb2f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -108,6 +108,9 @@ class Union extends DisplayPluginBase {
    }
  }

  /**
   * {@inheritdoc}
   */
  public function submitOptionsForm(&$form, FormStateInterface $form_state) {
    parent::submitOptionsForm($form, $form_state);
    $section = $form_state->get('section');
@@ -147,7 +150,7 @@ class Union extends DisplayPluginBase {
  }

  /**
   * @inheritDoc
   * {@inheritdoc}
   */
  public function validate() {
    $errors = parent::validate();
+6 −7
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@ function views_display_union_help($route_name, RouteMatchInterface $route_match)
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('A Views display that makes a UNION of results to be displayed on a master page') . '</p>';
      return $output;

    default:
  }
}

@@ -75,7 +73,8 @@ function views_display_union_views_pre_execute(ViewExecutable $view) {
              '%name' => $display_name($id),
              '@id' => $id,
              '%main' => $display_name($view->current_display),
              '@main_id' => $view->current_display]));
              '@main_id' => $view->current_display,
            ]));
            return;
          }

+1 −1

File changed.

Contains only whitespace changes.