Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / field / migration_templates / d7_field_formatter_settings.yml
diff --git a/web/core/modules/field/migration_templates/d7_field_formatter_settings.yml b/web/core/modules/field/migration_templates/d7_field_formatter_settings.yml
deleted file mode 100644 (file)
index 5c9335c..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-id: d7_field_formatter_settings
-label: Field formatter configuration
-migration_tags:
-  - Drupal 7
-class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
-field_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
-  # The bundle needs to be statically mapped in order to support comment types
-  # that might already exist before this migration is run. See
-  # d7_comment_type.yml or more information.
-  bundle:
-    plugin: static_map
-    source: bundle
-    bypass: true
-    map:
-      comment_node_forum: comment_forum
-  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": 'formatter/label'
-  "options/weight": 'formatter/weight'
-  # The formatter to use.
-  formatter_type:
-    plugin: process_field
-    source: type
-    method: getFieldFormatterType
-  "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: 'formatter/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