X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftests%2Fmodules%2Ftaxonomy_term_stub_test%2Fmigrations%2Ftaxonomy_term_stub_test.yml;fp=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftests%2Fmodules%2Ftaxonomy_term_stub_test%2Fmigrations%2Ftaxonomy_term_stub_test.yml;h=4c3cd86710d6765064c55b1ddd3dd36c558713a6;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/taxonomy/tests/modules/taxonomy_term_stub_test/migrations/taxonomy_term_stub_test.yml b/web/core/modules/taxonomy/tests/modules/taxonomy_term_stub_test/migrations/taxonomy_term_stub_test.yml new file mode 100644 index 000000000..4c3cd8671 --- /dev/null +++ b/web/core/modules/taxonomy/tests/modules/taxonomy_term_stub_test/migrations/taxonomy_term_stub_test.yml @@ -0,0 +1,32 @@ +id: taxonomy_term_stub_test +label: Taxonomy term stub +migration_tags: + - Import and rollback test +source: + plugin: embedded_data + data_rows: + - + id: 1 + vocab: 1 + name: music + parent: 2 + ids: + id: + type: integer +process: + tid: id + vid: vocab + name: name + weight: weight + parent: + plugin: migration_lookup + migration: taxonomy_term_stub_test + source: parent +destination: + plugin: entity:taxonomy_term +migration_dependencies: + required: + - vocabularies +provider: + - migrate_drupal + - taxonomy