Customize upgrade_d7_field_formatter_settings migration

This commit is contained in:
Mauricio Dinarte 2024-12-04 10:12:31 -06:00
parent 7894d24a91
commit 403f7e4921

View file

@ -1,21 +1,19 @@
uuid: 96e322a2-20b4-473f-953b-902f5a6d3503
langcode: en
status: true
dependencies: { }
id: upgrade_d7_field_formatter_settings id: upgrade_d7_field_formatter_settings
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
field_plugin_method: alterFieldFormatterMigration field_plugin_method: alterFieldFormatterMigration
cck_plugin_method: null
migration_tags: migration_tags:
- 'Drupal 7' - 'Drupal 7'
- Configuration - Configuration
migration_group: migrate_drupal_7 - component_entity_display
- tag1_configuration
label: 'Field formatter configuration' label: 'Field formatter configuration'
source: source:
key: migrate
plugin: d7_field_instance_per_view_mode plugin: d7_field_instance_per_view_mode
constants: constants:
third_party_settings: { } third_party_settings: { }
process: process:
# @modified
field_type_exists: field_type_exists:
- -
plugin: migration_lookup plugin: migration_lookup
@ -30,6 +28,7 @@ process:
- -
plugin: skip_on_empty plugin: skip_on_empty
method: row method: row
message: "Field storage configuration does not exist."
entity_type: entity_type:
- -
plugin: get plugin: get
@ -172,10 +171,10 @@ destination:
plugin: component_entity_display plugin: component_entity_display
migration_dependencies: migration_dependencies:
required: required:
- upgrade_d7_field_instance
- upgrade_d7_view_modes
optional:
- upgrade_d7_field_collection_type
- upgrade_d7_field - upgrade_d7_field
- upgrade_d7_field_collection_type
- upgrade_d7_field_instance - upgrade_d7_field_instance
- upgrade_d7_node_type
- upgrade_d7_taxonomy_vocabulary
- upgrade_d7_view_modes - upgrade_d7_view_modes
optional: { }