migrate_plus.migration.d7_taxonomy_term_company.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. uuid: 9b7337ca-b3ad-42f4-aca4-fe874fe78d87
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: 6zRUA88z28s1EKQh9eQnvj6ftzTg5ADqwr8PNRuQjFI
  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. field_note: field_note
  65. description:
  66. plugin: iterator
  67. source: body
  68. process:
  69. value: value
  70. format:
  71. plugin: default_value
  72. default_value: wysiwyg
  73. field_infos_from_company:
  74. plugin: iterator
  75. source: field_infos_from_company
  76. process:
  77. value: value
  78. format:
  79. plugin: default_value
  80. default_value: wysiwyg
  81. field_workflow:
  82. plugin: static_map
  83. source: workflow
  84. map:
  85. 1: workflow_creation
  86. 2: workflow_hidden
  87. 3: workflow_visible
  88. 4: workflow_imported
  89. 5: workflow_edited
  90. field_attachments:
  91. plugin: iterator
  92. source: field_attachments
  93. process:
  94. target_id:
  95. plugin: migration_lookup
  96. migration: d7_allpublicfiles
  97. source: fid
  98. no_stub: true
  99. description: description
  100. destination:
  101. plugin: 'entity:taxonomy_term'
  102. migration_dependencies:
  103. required:
  104. - d7_allpublicfiles