diff --git a/core/modules/field/migrations/d6_field_formatter_settings.yml b/core/modules/field/migrations/d6_field_formatter_settings.yml index 781d7c15cd..b36eba6aca 100644 --- a/core/modules/field/migrations/d6_field_formatter_settings.yml +++ b/core/modules/field/migrations/d6_field_formatter_settings.yml @@ -285,6 +285,7 @@ process: - plugin: field_formatter_settings_defaults "options/third_party_settings": 'constants/third_party_settings' + destination: plugin: component_entity_display migration_dependencies: diff --git a/core/modules/field/migrations/d6_field_instance.yml b/core/modules/field/migrations/d6_field_instance.yml index a512a86972..751d425247 100644 --- a/core/modules/field/migrations/d6_field_instance.yml +++ b/core/modules/field/migrations/d6_field_instance.yml @@ -46,6 +46,7 @@ process: - widget_type - widget_settings - global_settings + default_value_callback: '' default_value: plugin: d6_field_instance_defaults diff --git a/core/modules/field/migrations/d6_field_instance_widget_settings.yml b/core/modules/field/migrations/d6_field_instance_widget_settings.yml index b2e745a741..9c12fd8b6b 100644 --- a/core/modules/field/migrations/d6_field_instance_widget_settings.yml +++ b/core/modules/field/migrations/d6_field_instance_widget_settings.yml @@ -83,6 +83,7 @@ process: plugin: default_value default_value: [] 'options/third_party_settings': 'constants/third_party_settings' + destination: plugin: component_entity_form_display migration_dependencies: diff --git a/core/modules/field/src/Plugin/migrate/process/FieldWidgetFallback.php b/core/modules/field/src/Plugin/migrate/process/FieldWidgetFallback.php index bafaa1e4d2..cd915140f2 100644 --- a/core/modules/field/src/Plugin/migrate/process/FieldWidgetFallback.php +++ b/core/modules/field/src/Plugin/migrate/process/FieldWidgetFallback.php @@ -112,7 +112,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable $fallback = $field_type_definition['default_widget']; if (!isset($this->configuration['skip_message']) || empty($this->configuration['skip_message'])) { - $message = sprintf('The field widget plugin id %s (used on field type %s) could not be mapped to an existing widget plugin; defaulting to %s and dropping all widget settings. Either redo the migration with the module installed that provides an equivalent plugin, or modify the entity form display after the migration and manually choose the right field widget.', $value, $field_type, $fallback); + $message = sprintf('The field widget plugin ID %s (used on field type %s) could not be mapped to an existing widget plugin; defaulting to %s and dropping all widget settings. Either redo the migration with the module installed that provides an equivalent plugin, or modify the entity form display after the migration and manually choose the right field widget.', $value, $field_type, $fallback); $migrate_executable->saveMessage($message, MigrationInterface::MESSAGE_NOTICE); }