function 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 50
Class
- TestSqlIdMap
- Defines a SQL ID map for use in tests.
Namespace
Drupal\Tests\migrate\UnitCode
public function getDatabase() {
return parent::getDatabase();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.