You are here

public function TestSqlIdMap::getDatabase in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Unit/TestSqlIdMap.php \Drupal\Tests\migrate\Unit\TestSqlIdMap::getDatabase()
  2. 9 core/modules/migrate/tests/src/Unit/TestSqlIdMap.php \Drupal\Tests\migrate\Unit\TestSqlIdMap::getDatabase()

Gets the database connection.

Return value

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

Overrides Sql::getDatabase

File

core/modules/migrate/tests/src/Unit/TestSqlIdMap.php, line 45

Class

TestSqlIdMap
Defines a SQL ID map for use in tests.

Namespace

Drupal\Tests\migrate\Unit

Code

public function getDatabase() {
  return parent::getDatabase();
}