migrate_plus.migration.d7_taxonomy_term_showroom.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. id: d7_taxonomy_term_showroom
  2. label: Taxonomy terms Showroom
  3. migration_group: d7_materio
  4. audit: true
  5. migration_tags:
  6. - Drupal 7
  7. - Content
  8. - Materio
  9. deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
  10. source:
  11. plugin: d7_taxonomy_term_showroom
  12. bundle: showroom
  13. destination:
  14. plugin: entity:taxonomy_term
  15. process:
  16. # If you are using this file to build a custom migration consider removing
  17. # the tid field to allow incremental migrations.
  18. # tid: tid
  19. vid:
  20. plugin: default_value
  21. default_value: showroom
  22. name: name
  23. weight: weight
  24. parent:
  25. plugin: default_value
  26. default_value: 0
  27. changed: timestamp
  28. langcode:
  29. plugin: default_value
  30. default_value: 'und'
  31. field_migration:
  32. plugin: default_value
  33. default_value: 'migration_imported'
  34. field_workflow:
  35. plugin: default_value
  36. default_value: 'workflow_visible'
  37. # tode node showroom
  38. field_website:
  39. plugin: iterator
  40. source: field_website
  41. process:
  42. uri: url
  43. title: title
  44. options: attributes
  45. field_memo: field_memo
  46. field_public_phone: public_phone
  47. field_public_email:
  48. plugin: iterator
  49. source: field_public_email
  50. process:
  51. value: email
  52. field_public_address:
  53. plugin: iterator
  54. source: field_public_address
  55. process:
  56. # langcode:
  57. country_code: country
  58. administrative_area: administrative_area
  59. locality: locality
  60. dependent_locality: dependent_locality
  61. postal_code: postal_code
  62. # sorting_code:
  63. address_line1: thoroughfare
  64. # address_line2:
  65. organization: organisation_name
  66. given_name: first_name
  67. # additional_name:
  68. family_name: last_name
  69. # SOURCES
  70. # sub_administrative_area
  71. # premise
  72. # sub_premise
  73. # name_line
  74. # data
  75. description:
  76. plugin: iterator
  77. source: body
  78. process:
  79. value: value
  80. format:
  81. plugin: default_value
  82. default_value: wysiwyg