migrate_plus.migration.d7_taxonomy_term_company.yml 2.6 KB

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