You are here

d6_field.yml in Drupal 10

core/modules/field/migrations/d6_field.yml

File

core/modules/field/migrations/d6_field.yml
View source
  1. # cspell:ignore filefield imagefield optionwidgets
  2. id: d6_field
  3. label: Field configuration
  4. migration_tags:
  5. - Drupal 6
  6. - Configuration
  7. class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
  8. field_plugin_method: alterFieldMigration
  9. source:
  10. plugin: d6_field
  11. constants:
  12. entity_type: node
  13. langcode: en
  14. # Phone is here since it does not use a migrate field plugin.
  15. source_module: phone
  16. process:
  17. entity_type: 'constants/entity_type'
  18. status: active
  19. langcode: 'constants/langcode'
  20. field_name: field_name
  21. type:
  22. plugin: field_type
  23. source:
  24. - type
  25. - widget_type
  26. map:
  27. userreference:
  28. userreference_select: entity_reference
  29. userreference_buttons: entity_reference
  30. userreference_autocomplete: entity_reference
  31. nodereference:
  32. nodereference_select: entity_reference
  33. number_integer:
  34. number: integer
  35. optionwidgets_select: list_integer
  36. optionwidgets_buttons: list_integer
  37. optionwidgets_onoff: boolean
  38. number_decimal:
  39. number: decimal
  40. optionwidgets_select: list_float
  41. optionwidgets_buttons: list_float
  42. optionwidgets_onoff: boolean
  43. number_float:
  44. number: float
  45. optionwidgets_select: list_float
  46. optionwidgets_buttons: list_float
  47. optionwidgets_onoff: boolean
  48. email:
  49. email_textfield: email
  50. filefield:
  51. imagefield_widget: image
  52. filefield_widget: file
  53. fr_phone:
  54. phone_textfield: telephone
  55. be_phone:
  56. phone_textfield: telephone
  57. it_phone:
  58. phone_textfield: telephone
  59. el_phone:
  60. phone_textfield: telephone
  61. ch_phone:
  62. phone_textfield: telephone
  63. ca_phone:
  64. phone_textfield: telephone
  65. cr_phone:
  66. phone_textfield: telephone
  67. pa_phone:
  68. phone_textfield: telephone
  69. gb_phone:
  70. phone_textfield: telephone
  71. ru_phone:
  72. phone_textfield: telephone
  73. ua_phone:
  74. phone_textfield: telephone
  75. es_phone:
  76. phone_textfield: telephone
  77. au_phone:
  78. phone_textfield: telephone
  79. cs_phone:
  80. phone_textfield: telephone
  81. hu_phone:
  82. phone_textfield: telephone
  83. pl_phone:
  84. phone_textfield: telephone
  85. nl_phone:
  86. phone_textfield: telephone
  87. se_phone:
  88. phone_textfield: telephone
  89. za_phone:
  90. phone_textfield: telephone
  91. il_phone:
  92. phone_textfield: telephone
  93. nz_phone:
  94. phone_textfield: telephone
  95. br_phone:
  96. phone_textfield: telephone
  97. cl_phone:
  98. phone_textfield: telephone
  99. cn_phone:
  100. phone_textfield: telephone
  101. hk_phone:
  102. phone_textfield: telephone
  103. mo_phone:
  104. phone_textfield: telephone
  105. ph_phone:
  106. phone_textfield: telephone
  107. sg_phone:
  108. phone_textfield: telephone
  109. jo_phone:
  110. phone_textfield: telephone
  111. eg_phone:
  112. phone_textfield: telephone
  113. pk_phone:
  114. phone_textfield: telephone
  115. int_phone:
  116. phone_textfield: telephone
  117. cardinality:
  118. plugin: static_map
  119. bypass: true
  120. source: multiple
  121. map:
  122. 0: 1
  123. 1: -1
  124. settings:
  125. plugin: field_settings
  126. source:
  127. - '@type'
  128. - global_settings
  129. - type
  130. destination:
  131. plugin: entity:field_storage_config