You are here

recipe61_recipe_translation.yml in Recipe 8.2

migrations/recipe61_recipe_translation.yml

File

migrations/recipe61_recipe_translation.yml
View source
  1. id: recipe61_recipe_translation
  2. label: Recipe data
  3. migration_tags:
  4. - Drupal 6
  5. source:
  6. plugin: recipe61_recipe
  7. translations: true
  8. source_module: translation
  9. process:
  10. nid: tnid
  11. langcode:
  12. plugin: default_value
  13. source: language
  14. default_value: "und"
  15. recipe_cook_time: cooktime
  16. recipe_description: description
  17. recipe_ingredient:
  18. plugin: sub_process
  19. source: ingredients
  20. process:
  21. delta: weight
  22. target_id: ingredient_id
  23. unit_key: unit_key
  24. quantity: quantity
  25. note: note
  26. recipe_instructions: instructions
  27. recipe_notes: notes
  28. recipe_prep_time: preptime
  29. recipe_source: source
  30. recipe_yield_amount: yield
  31. recipe_yield_unit: yield_unit
  32. destination:
  33. plugin: entity:node
  34. translations: true
  35. destination_module: content_translation
  36. migration_dependencies:
  37. required:
  38. - d6_node
  39. - language
  40. - recipe1x_ingredient