Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lisastreeter/2484e827c20ce3b0b79cbdf7503d28ae to your computer and use it in GitHub Desktop.
Save lisastreeter/2484e827c20ce3b0b79cbdf7503d28ae to your computer and use it in GitHub Desktop.
Drupal 8 migration embedded_data source plugin for product specification migration
dependencies:
enforced:
module:
- wbconline_migrate
id: product_shipping
label: 'Create product shipping conditions taxonomy terms'
migration_group: wbconline
source:
plugin: embedded_data
data_rows:
-
id: shipping_room
code: 'default'
description: 'Room Temperature'
-
id: shipping_na
code: 'N/A'
description: 'N/A'
-
id: shipping_ip
code: IP
description: 'REQUIRES SPECIAL SHIPPING: ICE PACK'
-
id: shipping_di
code: DI
description: 'REQUIRES SPECIAL SHIPPING: DRY ICE'
ids:
id:
type: string
process:
vid:
plugin: default_value
default_value: product_shipping_conditions
name: description
field_short_name: code
destination:
plugin: entity:taxonomy_term
migration_dependencies: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment