protected function Tasks::getConnection in Drupal 10
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::getConnection()
Returns the database connection.
Return value
\Drupal\Core\Database\Connection The database connection.
3 calls to Tasks::getConnection()
- Tasks::checkJsonSupport in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Checks the database json support.
- Tasks::minimumVersion in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Install/ Tasks.php - Returns the minimum required version of the engine.
- Tasks::name in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Install/ Tasks.php - Returns the human-readable name of the driver.
File
- core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php, line 391
Class
- Tasks
- Database installer structure.
Namespace
Drupal\Core\Database\InstallCode
protected function getConnection() {
return Database::getConnection();
}