migrate_plus.migration.d7_taxonomy_term_company.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. field_departement: field_departement
  72. description:
  73. plugin: iterator
  74. source: body
  75. process:
  76. value: value
  77. format:
  78. plugin: default_value
  79. default_value: wysiwyg
  80. field_infos_from_company:
  81. plugin: iterator
  82. source: field_infos_from_company
  83. process:
  84. value: value
  85. format:
  86. plugin: default_value
  87. default_value: wysiwyg
  88. field_workflow:
  89. plugin: static_map
  90. source: workflow
  91. map:
  92. 1: workflow_creation
  93. 2: workflow_hidden
  94. 3: workflow_visible
  95. 4: workflow_imported
  96. 5: workflow_edited
  97. field_attachments:
  98. plugin: iterator
  99. source: field_attachments
  100. process:
  101. target_id:
  102. plugin: migration_lookup
  103. migration: d7_allpublicfiles
  104. source: fid
  105. no_stub: true
  106. description: description
  107. destination:
  108. plugin: 'entity:taxonomy_term'
  109. migration_dependencies:
  110. required:
  111. - d7_allpublicfiles