public function TestSqlBase::getDatabase in Zircon Profile 8
Same name in this branch
- 8 core/modules/migrate/src/Tests/SqlBaseTest.php \Drupal\migrate\Plugin\migrate\source\TestSqlBase::getDatabase()
- 8 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::getDatabase()
Same name and namespace in other branches
- 8.0 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::getDatabase()
Get the database connection object.
Return value
\Drupal\Core\Database\Connection The database connection.
Overrides SqlBase::getDatabase
File
- core/
modules/ migrate/ tests/ src/ Unit/ SqlBaseTest.php, line 125 - Contains \Drupal\Tests\migrate\Unit\SqlBaseTest.
Class
Namespace
Drupal\Tests\migrate\UnitCode
public function getDatabase() {
return $this->database;
}