function TestSqlBase::getDatabase

Same name in this branch
  1. 10 core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\TestSqlBase::getDatabase()
Same name in other branches
  1. 9 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::getDatabase()
  2. 9 core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\TestSqlBase::getDatabase()
  3. 8.9.x core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::getDatabase()
  4. 8.9.x core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\TestSqlBase::getDatabase()
  5. 11.x core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::getDatabase()
  6. 11.x core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\TestSqlBase::getDatabase()

Overrides SqlBase::getDatabase

File

core/modules/migrate/tests/src/Unit/SqlBaseTest.php, line 179

Class

TestSqlBase
Creates a base source class for SQL migration testing.

Namespace

Drupal\Tests\migrate\Unit

Code

public function getDatabase() {
    return $this->database;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.