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

merge-requests/25/head
Lee Rowlands 2020-09-04 15:09:08 +10:00
parent c915bfe0bd
commit 7aca346469
No known key found for this signature in database
GPG Key ID: 2B829A3DF9204DC4
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ class CredentialForm extends MigrateUpgradeFormBase {
$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.