Loading core/modules/views_ui/src/ViewAddForm.php +1 −0 Original line number Diff line number Diff line Loading @@ -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'; Loading Loading
core/modules/views_ui/src/ViewAddForm.php +1 −0 Original line number Diff line number Diff line Loading @@ -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'; Loading