public function FieldDiscoveryTestClass::getSourcePlugin in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php \Drupal\field_discovery_test\FieldDiscoveryTestClass::getSourcePlugin()
Gets the source plugin to use to gather field information.
Parameters
string $core: The Drupal core version.
Return value
array|\Drupal\migrate\Plugin\MigrateSourceInterface The source plugin, or an empty array if none can be found that meets requirements.
Overrides FieldDiscovery::getSourcePlugin
File
- core/
modules/ migrate_drupal/ tests/ modules/ field_discovery_test/ src/ FieldDiscoveryTestClass.php, line 89
Class
- FieldDiscoveryTestClass
- A test class to expose protected methods.
Namespace
Drupal\field_discovery_testCode
public function getSourcePlugin($core) {
return parent::getSourcePlugin($core);
}