migrate_plus.migration.d7_taxonomy_term_company.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. uuid: 99300cd0-cbdd-4df5-a0aa-1728be5d44a4
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: dJ0jURnhhbRqPvAA5LK79EsL0naGK-GdN3XusNAHHJ8
  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_companie
  34. parent:
  35. plugin: default_value
  36. default_value: 0
  37. source: '@parent_id'
  38. changed: timestamp
  39. field_website:
  40. plugin: iterator
  41. source: field_website
  42. process:
  43. uri: url
  44. title: title
  45. options: attributes
  46. field_memo: field_memo
  47. field_public_phone: public_phone
  48. field_public_email:
  49. plugin: iterator
  50. source: field_public_email
  51. process:
  52. value: email
  53. field_public_address:
  54. plugin: iterator
  55. source: field_public_address
  56. process:
  57. country_code: country
  58. administrative_area: administrative_area
  59. locality: locality
  60. dependent_locality: dependent_locality
  61. postal_code: postal_code
  62. address_line1: thoroughfare
  63. organization: organisation_name
  64. given_name: first_name
  65. family_name: last_name
  66. field_note: field_note
  67. field_departement: field_departement
  68. description:
  69. plugin: iterator
  70. source: body
  71. process:
  72. value: value
  73. format:
  74. plugin: default_value
  75. default_value: wysiwyg
  76. field_infos_from_company:
  77. plugin: iterator
  78. source: field_infos_from_company
  79. process:
  80. value: value
  81. format:
  82. plugin: default_value
  83. default_value: wysiwyg
  84. field_workflow:
  85. plugin: static_map
  86. source: workflow
  87. map:
  88. 1: workflow_creation
  89. 2: workflow_hidden
  90. 3: workflow_visible
  91. 4: workflow_imported
  92. 5: workflow_edited
  93. destination:
  94. plugin: 'entity:taxonomy_term'
  95. migration_dependencies: null