Unverified Commit 84b1d18b authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3183106 by adityasingh, benjifisher, Abhijith S, Kumar Kundan, Lendude,...

Issue #3183106 by adityasingh, benjifisher, Abhijith S, Kumar Kundan, Lendude, Rajender Rajan, tanubansal, pvsureshmca, joachim, amietpatial, chanderbhushan: Sort the options in the "Add view" wizard
parent b2519618
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@ public function form(array $form, FormStateInterface $form_state) {
      '#type' => 'select',
      '#title' => $this->t('Show'),
      '#options' => $options,
      '#sort_options' => TRUE,
    ];
    $show_form = &$form['displays']['show'];
    $default_value = \Drupal::moduleHandler()->moduleExists('node') ? 'node' : 'users';