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/src/Tests/SqlBaseTest.php \Drupal\migrate\Plugin\migrate\source\TestSqlBase::getDatabase()
Get the database without caching it.
File
- core/
modules/ migrate/ src/ Tests/ SqlBaseTest.php, line 108 - Contains \Drupal\migrate\Tests\SqlBaseTest.
Class
- TestSqlBase
- A dummy source to help with testing SqlBase.
Namespace
Drupal\migrate\TestsCode
public function getDatabase() {
$this->database = NULL;
return parent::getDatabase();
}