You are here

sample_stubbing_migration_with_multiple_source_ids.yml in Drupal 8

core/modules/migrate/tests/modules/migrate_stub_test/migrations/sample_stubbing_migration_with_multiple_source_ids.yml

File

core/modules/migrate/tests/modules/migrate_stub_test/migrations/sample_stubbing_migration_with_multiple_source_ids.yml
View source
  1. id: sample_stubbing_migration_with_multiple_source_ids
  2. label: "Sample stubbing migration with multiple source ids."
  3. source:
  4. plugin: embedded_data
  5. data_rows:
  6. - id: 17
  7. version_id: 17
  8. title: "Sample 1"
  9. bodyvalue: "This is the body for ID 17"
  10. bodyformat: "plain_text"
  11. - id: 25
  12. version_id: 25
  13. title: "Sample 2"
  14. bodyvalue: "This is the body for ID 25"
  15. bodyformat: "plain_text"
  16. ids:
  17. id:
  18. type: integer
  19. version_id:
  20. type: integer
  21. process:
  22. title: title
  23. body/0/value: bodyvalue
  24. body/0/format: bodyformat
  25. destination:
  26. default_bundle: node_stub
  27. plugin: entity:node