d7_field.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. id: d7_field
  2. label: Field configuration
  3. migration_tags:
  4. - Drupal 7
  5. class: Drupal\migrate_drupal\Plugin\migrate\CckMigration
  6. cck_plugin_method: processField
  7. source:
  8. plugin: d7_field
  9. constants:
  10. status: true
  11. langcode: und
  12. process:
  13. entity_type: entity_type
  14. status: 'constants/status'
  15. langcode: 'constants/langcode'
  16. field_name: field_name
  17. type:
  18. plugin: field_type
  19. source: type
  20. map:
  21. date: datetime
  22. datestamp: datetime
  23. datetime: datetime
  24. email: email
  25. entityreference: entity_reference
  26. file: file
  27. image: image
  28. link_field: link
  29. list_boolean: boolean
  30. list_integer: list_integer
  31. list_text: list_string
  32. number_integer: integer
  33. number_decimal: decimal
  34. number_float: float
  35. phone: telephone
  36. text_long: text_long
  37. text_with_summary: text_with_summary
  38. # Translatable is not migrated and the Drupal 8 default of true is used.
  39. # If translatable is false in field storage then the field can not be
  40. # set to translatable via the UI.
  41. #translatable: translatable
  42. cardinality: cardinality
  43. settings:
  44. plugin: d7_field_settings
  45. destination:
  46. plugin: entity:field_storage_config