migrate_plus.migration.d7_taxonomy_term_company.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. uuid: 36e781b5-fffe-49eb-a8c5-b6574e8ea464
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. id: d7_taxonomy_term_company
  6. class: null
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 7'
  11. - Content
  12. - Materio
  13. migration_group: d7_materio
  14. label: 'Taxonomy terms Company'
  15. source:
  16. plugin: d7_taxonomy_term_company
  17. bundle: company
  18. process:
  19. vid:
  20. plugin: default_value
  21. default_value: company
  22. name: name
  23. weight: weight
  24. parent_id:
  25. -
  26. plugin: skip_on_empty
  27. method: process
  28. source: parent
  29. -
  30. plugin: migration_lookup
  31. migration: d7_taxonomy_term_company
  32. parent:
  33. plugin: default_value
  34. default_value: 0
  35. source: '@parent_id'
  36. changed: timestamp
  37. langcode:
  38. plugin: default_value
  39. default_value: und
  40. field_migration:
  41. plugin: default_value
  42. default_value: migration_imported
  43. field_website:
  44. plugin: iterator
  45. source: field_website
  46. process:
  47. uri: url
  48. title: title
  49. options: attributes
  50. field_memo: field_memo
  51. field_public_phone: public_phone
  52. field_public_email:
  53. plugin: iterator
  54. source: field_public_email
  55. process:
  56. value: email
  57. field_public_address:
  58. plugin: iterator
  59. source: field_public_address
  60. process:
  61. country_code: country
  62. field_note: field_note
  63. description:
  64. plugin: iterator
  65. source: body
  66. process:
  67. value: value
  68. format:
  69. plugin: default_value
  70. default_value: wysiwyg
  71. field_infos_from_company:
  72. plugin: iterator
  73. source: field_infos_from_company
  74. process:
  75. value: value
  76. format:
  77. plugin: default_value
  78. default_value: wysiwyg
  79. field_workflow:
  80. plugin: static_map
  81. source: workflow
  82. map:
  83. 1: workflow_creation
  84. 2: workflow_hidden
  85. 3: workflow_visible
  86. 4: workflow_imported
  87. 5: workflow_edited
  88. field_attachments:
  89. plugin: iterator
  90. source: field_attachments
  91. process:
  92. target_id:
  93. plugin: migration_lookup
  94. migration: d7_allpublicfiles
  95. source: fid
  96. no_stub: true
  97. description: description
  98. destination:
  99. plugin: 'entity:taxonomy_term'
  100. migration_dependencies:
  101. required:
  102. - d7_allpublicfiles