You are here

taxonomy_term_stub_test.yml in Drupal 8

core/modules/taxonomy/tests/modules/taxonomy_term_stub_test/migrations/taxonomy_term_stub_test.yml

File

core/modules/taxonomy/tests/modules/taxonomy_term_stub_test/migrations/taxonomy_term_stub_test.yml
View source
  1. id: taxonomy_term_stub_test
  2. label: Taxonomy term stub
  3. migration_tags:
  4. - Import and rollback test
  5. source:
  6. plugin: embedded_data
  7. data_rows:
  8. -
  9. id: 1
  10. vocab: 1
  11. name: music
  12. parent: 2
  13. ids:
  14. id:
  15. type: integer
  16. process:
  17. tid: id
  18. vid: vocab
  19. name: name
  20. weight: weight
  21. parent:
  22. plugin: migration_lookup
  23. migration: taxonomy_term_stub_test
  24. source: parent
  25. destination:
  26. plugin: entity:taxonomy_term
  27. migration_dependencies:
  28. required:
  29. - vocabularies
  30. provider:
  31. - migrate_drupal
  32. - taxonomy