commerce1_product_type.yml in Commerce Migrate 3.0.x
Same filename and directory in other branches
modules/commerce/migrations/commerce1_product_type.yml
File
modules/commerce/migrations/commerce1_product_type.ymlView source
- id: commerce1_product_type
- label: Commerce product type
- migration_tags:
- - Drupal 7
- - Commerce
- - Configuration
- source:
- plugin: commerce1_product_display_type
- variations:
- matching: true
- default: default
- process:
- id: type
- exists:
- -
- plugin: entity_exists
- source: type
- entity_type: commerce_product_type
- -
- plugin: callback
- callable: is_bool
- -
- plugin: skip_on_empty
- method: row
- label: name
- description: description
- help: help
- variationType:
- -
- plugin: commerce1_resolve_product_variation_type
- source: type
- variations:
- matching: true
- default: default
- -
- plugin: skip_on_empty
- method: row
- injectVariationFields:
- plugin: default_value
- default_value: 1
- destination:
- plugin: 'entity:commerce_product_type'
- destination_module: commerce_product