diff --git a/core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceSettings.php b/core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceSettings.php index c0258c5..b9e7b5f 100644 --- a/core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceSettings.php +++ b/core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceSettings.php @@ -60,7 +60,7 @@ public static function create(ContainerInterface $container, array $configuratio */ public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) { try { - return $this->cckPluginManager->createInstance($row->getSourceProperty('type')) + return $this->cckPluginManager->createInstance($row->getSourceProperty('type'), ['core' => 6]) ->transformFieldInstanceSettings($row); } catch (PluginNotFoundException $e) { diff --git a/core/modules/field/src/Plugin/migrate/process/d6/FieldSettings.php b/core/modules/field/src/Plugin/migrate/process/d6/FieldSettings.php index 904c42a..ae3d9b5 100644 --- a/core/modules/field/src/Plugin/migrate/process/d6/FieldSettings.php +++ b/core/modules/field/src/Plugin/migrate/process/d6/FieldSettings.php @@ -62,7 +62,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable list($field_type, $global_settings, $source_field_type) = $value; try { - return $this->cckPluginManager->createInstance($source_field_type) + return $this->cckPluginManager->createInstance($source_field_type, ['core' => 6]) ->transformFieldStorageSettings($row); } catch (PluginNotFoundException $e) { diff --git a/core/modules/field/src/Plugin/migrate/process/d6/FieldWidgetType.php b/core/modules/field/src/Plugin/migrate/process/d6/FieldWidgetType.php index 413ed81..0dbbbba 100644 --- a/core/modules/field/src/Plugin/migrate/process/d6/FieldWidgetType.php +++ b/core/modules/field/src/Plugin/migrate/process/d6/FieldWidgetType.php @@ -63,7 +63,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable $source_field_type = $row->getSourceProperty('type'); try { - return $this->cckPluginManager->createInstance($source_field_type) + return $this->cckPluginManager->createInstance($source_field_type, ['core' => 6]) ->transformWidgetType($row); } catch (PluginNotFoundException $e) {