function QueryBatchTest::fields

Same name 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::fields()
  2. 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::fields()
  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::fields()

Overrides MigrateSourceInterface::fields

File

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

Class

QueryBatchTest
Source plugin for migration high water tests.

Namespace

Drupal\migrate_query_batch_test\Plugin\migrate\source

Code

public function fields() {
    $fields = [
        'id' => $this->t('Id'),
        'data' => $this->t('data'),
    ];
    return $fields;
}

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