You are here

sample_stubbing_migration.yml in Drupal 9

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

File

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