You are here

public function TestSqlBase::query in Drupal 8

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

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/migrate/tests/src/Kernel/SqlBaseTest.php, line 238
Contains \Drupal\Tests\migrate\Kernel\SqlBaseTest.

Class

TestSqlBase
A dummy source to help with testing SqlBase.

Namespace

Drupal\Tests\migrate\Kernel

Code

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