MigrateTestBase::$sourceDatabase

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::sourceDatabase
  2. 10 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::sourceDatabase
  3. 11.x core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::sourceDatabase

The source database connection.

Type: \Drupal\Core\Database\Connection

File

core/modules/migrate/tests/src/Kernel/MigrateTestBase.php, line 48

Class

MigrateTestBase
Creates abstract base class for migration tests.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected $sourceDatabase;

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