migrate_plus.migration.d6_edlp_pages.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. uuid: 4faf4493-7e25-44cc-85c9-645c1f432059
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: d6_edlp_pages
  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 pages'
  13. source:
  14. plugin: d6_edlp_pages
  15. node_type: page
  16. process:
  17. type:
  18. plugin: default_value
  19. default_value: page
  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_entrees:
  51. plugin: migration_lookup
  52. migration: d6_edlp_entrees
  53. source: entrees
  54. field_page_type:
  55. -
  56. plugin: skip_on_empty
  57. method: row
  58. message: 'Page type is missing, skiping row'
  59. source: page_type
  60. -
  61. plugin: migration_lookup
  62. migration: d6_edlp_pagetype
  63. field_son:
  64. plugin: migration_lookup
  65. migration: d6_edlp_allfiles
  66. source: sons_fid
  67. field_visuel:
  68. plugin: migration_lookup
  69. migration: d6_edlp_allfiles
  70. source: visuels_fid
  71. status:
  72. plugin: default_value
  73. default_value: 1
  74. field_workflow_generic:
  75. plugin: static_map
  76. source: workflow
  77. map:
  78. 1: generique_masque
  79. 2: generique_masque
  80. 3: generique_publie
  81. 4: generique_publie
  82. destination:
  83. plugin: 'entity:node'
  84. migration_dependencies:
  85. required:
  86. - d6_edlp_users
  87. - d6_edlp_entrees
  88. - d6_edlp_pagetype
  89. - d6_edlp_sons
  90. - d6_edlp_allfiles