Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / field / migration_templates / d7_field.yml
index 15079d88163dbf72bca613a0a849e9a05147f924..1fa00699f922f397be016f472fef2e0f4f14025a 100644 (file)
@@ -2,8 +2,8 @@ id: d7_field
 label: Field configuration
 migration_tags:
   - Drupal 7
-class: Drupal\migrate_drupal\Plugin\migrate\CckMigration
-cck_plugin_method: processField
+class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
+field_plugin_method: processField
 source:
   plugin: d7_field
   constants:
@@ -15,26 +15,9 @@ process:
   langcode: 'constants/langcode'
   field_name: field_name
   type:
-    plugin: field_type
+    plugin: process_field
     source: type
-    map:
-      date: datetime
-      datestamp: datetime
-      datetime: datetime
-      email: email
-      entityreference: entity_reference
-      file: file
-      image: image
-      link_field: link
-      list_boolean: boolean
-      list_integer: list_integer
-      list_text: list_string
-      number_integer: integer
-      number_decimal: decimal
-      number_float: float
-      phone: telephone
-      text_long: text_long
-      text_with_summary: text_with_summary
+    method: getFieldType
   # Translatable is not migrated and the Drupal 8 default of true is used.
   # If translatable is false in field storage then the field can not be
   # set to translatable via the UI.