You are here

public function TestSqlBase::getDatabase in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/migrate/src/Tests/SqlBaseTest.php \Drupal\migrate\Plugin\migrate\source\TestSqlBase::getDatabase()
  2. 8 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::getDatabase()
Same name and namespace in other branches
  1. 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\Tests

Code

public function getDatabase() {
  $this->database = NULL;
  return parent::getDatabase();
}