migrate_plus.migration.d7_taxonomy_term_company.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. administrative_area: administrative_area
  63. locality: locality
  64. dependent_locality: dependent_locality
  65. postal_code: postal_code
  66. address_line1: thoroughfare
  67. organization: organisation_name
  68. given_name: first_name
  69. family_name: last_name
  70. field_note: field_note
  71. description:
  72. plugin: iterator
  73. source: body
  74. process:
  75. value: value
  76. format:
  77. plugin: default_value
  78. default_value: wysiwyg
  79. field_infos_from_company:
  80. plugin: iterator
  81. source: field_infos_from_company
  82. process:
  83. value: value
  84. format:
  85. plugin: default_value
  86. default_value: wysiwyg
  87. field_workflow:
  88. plugin: static_map
  89. source: workflow
  90. map:
  91. 1: workflow_creation
  92. 2: workflow_hidden
  93. 3: workflow_visible
  94. 4: workflow_imported
  95. 5: workflow_edited
  96. field_attachments:
  97. plugin: iterator
  98. source: field_attachments
  99. process:
  100. target_id:
  101. plugin: migration_lookup
  102. migration: d7_allpublicfiles
  103. source: fid
  104. no_stub: true
  105. description: description
  106. destination:
  107. plugin: 'entity:taxonomy_term'
  108. migration_dependencies:
  109. required:
  110. - d7_allpublicfiles