You are here

d6_field.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/field/migration_templates/d6_field.yml
core/modules/field/migration_templates/d6_field.yml

File

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