You are here

protected function Tasks::getConnection in Drupal 9

Returns the database connection.

Return value

\Drupal\Core\Database\Connection The database connection.

1 call to Tasks::getConnection()
Tasks::name in core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
Return the human-readable name of the driver.

File

core/lib/Drupal/Core/Database/Install/Tasks.php, line 365

Class

Tasks
Database installer structure.

Namespace

Drupal\Core\Database\Install

Code

protected function getConnection() {
  return Database::getConnection();
}