Verified Commit 67c0d6b8 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3110839 by quietone, jungle: Use of...

Issue #3110839 by quietone, jungle: Use of \Drupal\Core\Database\Install\Tasks::getFormOptions() in \Drupal\migrate_drupal_ui\Form\CredentialForm::buildForm() results in confusing description for prefix form element

(cherry picked from commit 7aca3464)
parent 7f3f6dee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -134,6 +134,8 @@ public function buildForm(array $form, FormStateInterface $form_state) {
      $form['database']['driver']['#options'][$key] = $driver->name();

      $form['database']['settings'][$key] = $driver->getFormOptions($default_options);
      unset($form['database']['settings'][$key]['advanced_options']['prefix']['#description']);

      // @todo https://www.drupal.org/node/2678510 Using
      //   #limit_validation_errors in the submit does not work so it is not
      //   possible to require the database and username for mysql and pgsql.