diff --git a/web/modules/custom/custom/migrations/migrate_plus.migration.tag_term.yml b/web/modules/custom/custom/migrations/migrate_plus.migration.tag_term.yml new file mode 100644 index 0000000..e1672a1 --- /dev/null +++ b/web/modules/custom/custom/migrations/migrate_plus.migration.tag_term.yml @@ -0,0 +1,27 @@ +id: tag_term + +source: + plugin: url + data_fetcher_plugin: http + data_parser_plugin: json + urls: https://deploy-preview-213--opdavies.netlify.app/tags.json + ids: + id: + type: integer + item_selector: tags/ + fields: + - + name: id + selector: id + label: Tag ID + - + name: name + selector: name + label: Name + +process: + name: name + +destination: + plugin: 'entity:taxonomy_term' + default_bundle: tags