function QueryBatchTest::query

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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()

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');
}

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