d6_field.yml

Same filename in other branches
  1. 9 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. id: d6_field
  2. label: Field configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
  7. field_plugin_method: alterFieldMigration
  8. source:
  9. plugin: d6_field
  10. constants:
  11. entity_type: node
  12. langcode: en
  13. # Phone is here since it does not use a migrate field plugin.
  14. source_module: phone
  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. 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.