You are here

public function TestSqlIdMap::getDatabase in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 43
Contains \Drupal\Tests\migrate\Unit\TestSqlIdMap.

Class

TestSqlIdMap
Defines a SQL ID map for use in tests.

Namespace

Drupal\Tests\migrate\Unit

Code

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