d6_field.yml

Same filename in other branches
  1. 9 core/modules/field/migrations/d6_field.yml
  2. 8.9.x 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 nodereference onoff
  2. # cspell:ignore userreference
  3. id: d6_field
  4. label: Field configuration
  5. migration_tags:
  6. - Drupal 6
  7. - Configuration
  8. class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
  9. field_plugin_method: alterFieldMigration
  10. source:
  11. plugin: d6_field
  12. constants:
  13. entity_type: node
  14. langcode: en
  15. process:
  16. entity_type: 'constants/entity_type'
  17. status: active
  18. langcode: 'constants/langcode'
  19. field_name: field_name
  20. type:
  21. plugin: field_type
  22. source:
  23. - type
  24. - widget_type
  25. map:
  26. userreference:
  27. userreference_select: entity_reference
  28. userreference_buttons: entity_reference
  29. userreference_autocomplete: entity_reference
  30. nodereference:
  31. nodereference_select: entity_reference
  32. nodereference_url: 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

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