d6_field.yml

Same filename in other branches
  1. 8.9.x core/modules/field/migrations/d6_field.yml
  2. 10 core/modules/field/migrations/d6_field.yml
  3. 11.x core/modules/field/migrations/d6_field.yml
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. process:
  15. entity_type: 'constants/entity_type'
  16. status: active
  17. langcode: 'constants/langcode'
  18. field_name: field_name
  19. type:
  20. plugin: field_type
  21. source:
  22. - type
  23. - widget_type
  24. map:
  25. userreference:
  26. userreference_select: entity_reference
  27. userreference_buttons: entity_reference
  28. userreference_autocomplete: entity_reference
  29. nodereference:
  30. nodereference_select: entity_reference
  31. nodereference_url: entity_reference
  32. number_integer:
  33. number: integer
  34. optionwidgets_select: list_integer
  35. optionwidgets_buttons: list_integer
  36. optionwidgets_onoff: boolean
  37. number_decimal:
  38. number: decimal
  39. optionwidgets_select: list_float
  40. optionwidgets_buttons: list_float
  41. optionwidgets_onoff: boolean
  42. number_float:
  43. number: float
  44. optionwidgets_select: list_float
  45. optionwidgets_buttons: list_float
  46. optionwidgets_onoff: boolean
  47. email:
  48. email_textfield: email
  49. filefield:
  50. imagefield_widget: image
  51. filefield_widget: file
  52. fr_phone:
  53. phone_textfield: telephone
  54. be_phone:
  55. phone_textfield: telephone
  56. it_phone:
  57. phone_textfield: telephone
  58. el_phone:
  59. phone_textfield: telephone
  60. ch_phone:
  61. phone_textfield: telephone
  62. ca_phone:
  63. phone_textfield: telephone
  64. cr_phone:
  65. phone_textfield: telephone
  66. pa_phone:
  67. phone_textfield: telephone
  68. gb_phone:
  69. phone_textfield: telephone
  70. ru_phone:
  71. phone_textfield: telephone
  72. ua_phone:
  73. phone_textfield: telephone
  74. es_phone:
  75. phone_textfield: telephone
  76. au_phone:
  77. phone_textfield: telephone
  78. cs_phone:
  79. phone_textfield: telephone
  80. hu_phone:
  81. phone_textfield: telephone
  82. pl_phone:
  83. phone_textfield: telephone
  84. nl_phone:
  85. phone_textfield: telephone
  86. se_phone:
  87. phone_textfield: telephone
  88. za_phone:
  89. phone_textfield: telephone
  90. il_phone:
  91. phone_textfield: telephone
  92. nz_phone:
  93. phone_textfield: telephone
  94. br_phone:
  95. phone_textfield: telephone
  96. cl_phone:
  97. phone_textfield: telephone
  98. cn_phone:
  99. phone_textfield: telephone
  100. hk_phone:
  101. phone_textfield: telephone
  102. mo_phone:
  103. phone_textfield: telephone
  104. ph_phone:
  105. phone_textfield: telephone
  106. sg_phone:
  107. phone_textfield: telephone
  108. jo_phone:
  109. phone_textfield: telephone
  110. eg_phone:
  111. phone_textfield: telephone
  112. pk_phone:
  113. phone_textfield: telephone
  114. int_phone:
  115. phone_textfield: telephone
  116. cardinality:
  117. plugin: static_map
  118. bypass: true
  119. source: multiple
  120. map:
  121. 0: 1
  122. 1: -1
  123. settings:
  124. plugin: field_settings
  125. source:
  126. - '@type'
  127. - global_settings
  128. - type
  129. destination:
  130. plugin: entity:field_storage_config

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.