You are here

recipe71_recipe.yml in Recipe 8.2

migrations/recipe71_recipe.yml

File

migrations/recipe71_recipe.yml
View source
  1. id: recipe71_recipe
  2. label: Recipe data
  3. migration_tags:
  4. - Drupal 7
  5. source:
  6. plugin: recipe71_recipe
  7. process:
  8. nid: tnid
  9. langcode:
  10. plugin: default_value
  11. source: language
  12. default_value: "und"
  13. recipe_cook_time: cooktime
  14. recipe_description: description
  15. recipe_ingredient:
  16. plugin: sub_process
  17. source: ingredients
  18. process:
  19. delta: weight
  20. target_id: ingredient_id
  21. unit_key: unit_key
  22. quantity: quantity
  23. note: note
  24. recipe_instructions: instructions
  25. recipe_notes: notes
  26. recipe_prep_time: preptime
  27. recipe_source: source
  28. destination:
  29. plugin: entity:node
  30. migration_dependencies:
  31. required:
  32. - d7_node
  33. - recipe1x_ingredient