You are here

public function TestSqlBase::__construct in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/migrate/src/Tests/SqlBaseTest.php \Drupal\migrate\Plugin\migrate\source\TestSqlBase::__construct()
  2. 8 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::__construct()
Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Tests/SqlBaseTest.php \Drupal\migrate\Plugin\migrate\source\TestSqlBase::__construct()

Override the constructor so we can create one easily.

File

core/modules/migrate/src/Tests/SqlBaseTest.php, line 101
Contains \Drupal\migrate\Tests\SqlBaseTest.

Class

TestSqlBase
A dummy source to help with testing SqlBase.

Namespace

Drupal\migrate\Tests

Code

public function __construct() {
  $this->state = \Drupal::state();
}