Unverified Commit 6ab8e5e6 authored by alexpott's avatar alexpott

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

(cherry picked from commit 84b1d18b)
parent c8b93171
......@@ -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';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment