sample_stubbing_migration_with_multiple_source_ids.yml

Same filename in other branches
  1. 8.9.x core/modules/migrate/tests/modules/migrate_stub_test/migrations/sample_stubbing_migration_with_multiple_source_ids.yml
  2. 10 core/modules/migrate/tests/modules/migrate_stub_test/migrations/sample_stubbing_migration_with_multiple_source_ids.yml
  3. 11.x core/modules/migrate/tests/modules/migrate_stub_test/migrations/sample_stubbing_migration_with_multiple_source_ids.yml
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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.