id: d7_field_formatter_settings label: Field formatter configuration migration_tags: - Drupal 7 class: Drupal\migrate_drupal\Plugin\migrate\CckMigration cck_plugin_method: processFieldFormatter source: plugin: d7_field_instance_per_view_mode constants: third_party_settings: { } process: # We skip field types that don't exist because they weren't migrated by the # field migration. field_type_exists: - plugin: migration_lookup migration: d7_field source: - field_name - entity_type - plugin: extract index: - 0 - plugin: skip_on_empty method: row entity_type: entity_type bundle: bundle view_mode: - plugin: migration_lookup migration: d7_view_modes source: - entity_type - view_mode - plugin: extract index: - 1 - plugin: static_map bypass: true map: full: default field_name: field_name "options/label": label "options/weight": weight # The formatter to use. "options/type": - plugin: static_map bypass: true source: formatter_type map: date_default: datetime_default email_default: email_mailto # 0 should cause the row to be skipped by the next plugin in the # pipeline. hidden: 0 link_default: link phone: basic_string taxonomy_term_reference_link: entity_reference_label entityreference_label: entity_reference_label entityreference_entity_id: entity_reference_entity_id entityreference_entity_view: entity_reference_entity_view - plugin: skip_on_empty method: row "options/settings": plugin: default_value source: settings default_value: [] "options/third_party_settings": 'constants/third_party_settings' destination: plugin: component_entity_display migration_dependencies: required: - d7_field_instance - d7_view_modes