function FieldDiscovery::getFieldInstanceStubMigrationDefinition
Provides the stub migration definition for a given Drupal core version.
Parameters
string $core: The Drupal core version.
Return value
array The stub migration definition.
1 call to FieldDiscovery::getFieldInstanceStubMigrationDefinition()
- FieldDiscovery::getSourcePlugin in core/
modules/ migrate_drupal/ src/ FieldDiscovery.php - Gets the source plugin to use to gather field information.
File
-
core/
modules/ migrate_drupal/ src/ FieldDiscovery.php, line 311
Class
- FieldDiscovery
- Provides field discovery for Drupal 6 & 7 migrations.
Namespace
Drupal\migrate_drupalCode
protected function getFieldInstanceStubMigrationDefinition($core) {
return [
'destination' => [
'plugin' => 'null',
],
'idMap' => [
'plugin' => 'null',
],
'source' => [
'ignore_map' => TRUE,
'plugin' => $this->sourcePluginIds[$core],
],
];
}