You are here

public function TestSqlIdMap::getDatabase in Drupal 8

Same name and namespace in other branches
  1. 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 40

Class

TestSqlIdMap
Defines a SQL ID map for use in tests.

Namespace

Drupal\Tests\migrate\Unit

Code

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