You are here

sample_stubbing_migration.yml in Drupal 8

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. ids:
  15. id:
  16. type: integer
  17. process:
  18. title: title
  19. body/0/value: bodyvalue
  20. body/0/format: bodyformat
  21. destination:
  22. default_bundle: node_stub
  23. plugin: entity:node