You are here

protected function MigrateUpgradeForm::getDatabaseTypes in Migrate Upgrade 8

Returns all supported database driver installer objects.

Return value

\Drupal\Core\Database\Install\Tasks[] An array of available database driver installer objects.

2 calls to MigrateUpgradeForm::getDatabaseTypes()
MigrateUpgradeForm::buildCredentialForm in src/Form/MigrateUpgradeForm.php
Builds the database credential form and adds file location information.
MigrateUpgradeForm::validateCredentialForm in src/Form/MigrateUpgradeForm.php
Validation handler for the credentials form.

File

src/Form/MigrateUpgradeForm.php, line 1193
Contains \Drupal\migrate_upgrade\Form\MigrateUpgradeForm.

Class

MigrateUpgradeForm
Defines a multi-step form for performing direct site upgrades.

Namespace

Drupal\migrate_upgrade\Form

Code

protected function getDatabaseTypes() {

  // Make sure the install API is available.
  include_once DRUPAL_ROOT . '/core/includes/install.inc';
  return drupal_get_database_types();
}