You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
1.8 KiB

4 years ago
  1. uuid: 4d89c642-a6a8-4c53-bd40-43da4b65c799
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d7_field_instance
  6. class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
  7. field_plugin_method: alterFieldInstanceMigration
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 7'
  11. - Configuration
  12. migration_group: migrate_drupal_7
  13. label: 'Field instance configuration'
  14. source:
  15. plugin: d7_field_instance
  16. constants:
  17. status: true
  18. process:
  19. type:
  20. -
  21. plugin: process_field
  22. source: type
  23. method: getFieldType
  24. entity_type:
  25. -
  26. plugin: get
  27. source: entity_type
  28. field_name:
  29. -
  30. plugin: get
  31. source: field_name
  32. bundle:
  33. -
  34. plugin: static_map
  35. source: bundle
  36. bypass: true
  37. map:
  38. comment_node_forum: comment_forum
  39. label:
  40. -
  41. plugin: get
  42. source: label
  43. description:
  44. -
  45. plugin: get
  46. source: description
  47. required:
  48. -
  49. plugin: get
  50. source: required
  51. status:
  52. -
  53. plugin: get
  54. source: constants/status
  55. allowed_values:
  56. -
  57. plugin: sub_process
  58. source: allowed_vid
  59. process:
  60. -
  61. plugin: migration_lookup
  62. migration: upgrade_d7_taxonomy_vocabulary
  63. source: vid
  64. settings:
  65. -
  66. plugin: d7_field_instance_settings
  67. source:
  68. - settings
  69. - widget
  70. - field_definition
  71. default_value_function:
  72. -
  73. plugin: get
  74. source: ''
  75. default_value:
  76. -
  77. plugin: d7_field_instance_defaults
  78. source:
  79. - default_value
  80. - widget
  81. translatable:
  82. -
  83. plugin: get
  84. source: translatable
  85. destination:
  86. plugin: 'entity:field_config'
  87. migration_dependencies:
  88. required:
  89. - upgrade_d7_field
  90. optional:
  91. - upgrade_d7_node_type
  92. - upgrade_d7_comment_type
  93. - upgrade_d7_taxonomy_vocabulary