public function StubSourcePlugin::fields in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\StubSourcePlugin::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/ Unit/ MigrateSourceTest.php, line 475 - Contains \Drupal\Tests\migrate\Unit\MigrateSourceTest.
Class
- StubSourcePlugin
- Stubbed source plugin for testing base class implementations.
Namespace
Drupal\Tests\migrate\UnitCode
public function fields() {
return [];
}