You are here

public function QueryBatchTest::query in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/modules/migrate_query_batch_test/src/Plugin/migrate/source/QueryBatchTest.php \Drupal\migrate_query_batch_test\Plugin\migrate\source\QueryBatchTest::query()
  2. 10 core/modules/migrate/tests/modules/migrate_query_batch_test/src/Plugin/migrate/source/QueryBatchTest.php \Drupal\migrate_query_batch_test\Plugin\migrate\source\QueryBatchTest::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/migrate/tests/modules/migrate_query_batch_test/src/Plugin/migrate/source/QueryBatchTest.php, line 19

Class

QueryBatchTest
Source plugin for migration high water tests.

Namespace

Drupal\migrate_query_batch_test\Plugin\migrate\source

Code

public function query() {
  return $this
    ->select('query_batch_test', 'q')
    ->fields('q');
}