public function TestSqlBase::fields in Drupal 8
Same name in this branch
- 8 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::fields()
- 8 core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\TestSqlBase::fields()
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\TestSqlBase::fields()
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides MigrateSourceInterface::fields
File
- core/
modules/ migrate/ tests/ src/ Kernel/ SqlBaseTest.php, line 233 - Contains \Drupal\Tests\migrate\Kernel\SqlBaseTest.
Class
- TestSqlBase
- A dummy source to help with testing SqlBase.
Namespace
Drupal\Tests\migrate\KernelCode
public function fields() {
}