migrate_plus.migration.d6_edlp_sons.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. uuid: null
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: d6_edlp_sons
  6. class: null
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 6'
  11. migration_group: d6_edlp
  12. label: 'Edlp Drupal 6 sons'
  13. source:
  14. plugin: d6_edlp_sons
  15. node_type: son
  16. process:
  17. type:
  18. plugin: default_value
  19. default_value: autre_son
  20. langcode:
  21. plugin: default_value
  22. source: language
  23. default_value: und
  24. title:
  25. -
  26. plugin: get
  27. source: title
  28. -
  29. plugin: skip_on_empty
  30. method: row
  31. uid:
  32. -
  33. plugin: migration_lookup
  34. migration: d6_edlp_users
  35. source: node_uid
  36. -
  37. plugin: default_value
  38. default_value: 1
  39. created: created
  40. changed: changed
  41. promote: promote
  42. sticky: sticky
  43. revision_uid: revision_uid
  44. revision_log: log
  45. revision_timestamp: timestamp
  46. body/value: body
  47. body/format:
  48. plugin: default_value
  49. default_value: wysiwyg
  50. field_genres:
  51. plugin: migration_lookup
  52. migration: d6_edlp_genres
  53. source: genres
  54. field_locuteurs: locuteurs
  55. field_collectionneurs: collectionneurs
  56. field_son:
  57. plugin: migration_lookup
  58. migration: d6_edlp_allfiles
  59. source: sons_fid
  60. status:
  61. plugin: static_map
  62. source: workflow
  63. map:
  64. 1: 0
  65. 2: 0
  66. 3: 1
  67. 4: 1
  68. destination:
  69. plugin: 'entity:node'
  70. migration_dependencies:
  71. required:
  72. - d6_edlp_users
  73. - d6_edlp_entrees
  74. - d6_edlp_genres
  75. - d6_edlp_langues
  76. - d6_edlp_allfiles