Problem/Motivation
We have
- \Drupal\Core\Database\Install\Tasks::$pdoDriver
- \Drupal\Core\Database\Connection::databaseType()
- \Drupal\Core\Database\Connection::driver()
And it's not super clear how they relate to each other and that \Drupal\Core\Database\Install\Tasks::$pdoDriver
and \Drupal\Core\Database\Connection::databaseType()
is the same thing.
Proposed resolution
It would be helpful if the methods were static so they can be used prior to constructing the connection and we don't have to keep \Drupal\Core\Database\Install\Tasks::$pdoDriver
and \Drupal\Core\Database\Connection::databaseType()
in sync.
Remaining tasks
User interface changes
None
API changes
tbd - additions only and deprecations only
Data model changes
None
Release notes snippet
@todo