migrate_plus.migration.d6_edlp_pages.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. id: d6_edlp_page
  2. label: 'Edlp Drupal 6 page'
  3. migration_tags:
  4. - 'Drupal 6'
  5. deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
  6. migration_group: d6_edlp
  7. source:
  8. plugin: d6_edlp_pages
  9. node_type: page
  10. process:
  11. type:
  12. plugin: default_value
  13. default_value: page
  14. langcode:
  15. plugin: default_value
  16. source: language
  17. default_value: und
  18. title:
  19. -
  20. plugin: get
  21. source: title
  22. -
  23. plugin: skip_on_empty
  24. method: row
  25. uid:
  26. -
  27. plugin: migration_lookup
  28. migration: d6_edlp_users
  29. source: node_uid
  30. -
  31. plugin: default_value
  32. default_value: 1
  33. created: created
  34. changed: changed
  35. promote: promote
  36. sticky: sticky
  37. revision_uid: revision_uid
  38. revision_log: log
  39. revision_timestamp: timestamp
  40. body/value: body
  41. body/format:
  42. plugin: default_value
  43. default_value: wysiwyg
  44. field_entrees:
  45. plugin: migration_lookup
  46. migration: d6_edlp_entrees
  47. source: entrees
  48. field_page_type:
  49. plugin: migration_lookup
  50. migration: d6_edlp_pagetype
  51. source: page_type
  52. field_son:
  53. plugin: migration_lookup
  54. migration: d6_edlp_allfiles
  55. source: sons_fid
  56. field_visuel:
  57. plugin: migration_lookup
  58. migration: d6_edlp_allfiles
  59. source: visuels_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_pagetype
  75. - d6_edlp_sons
  76. - d6_edlp_allfiles