uc7_product_type.yml in Commerce Migrate 3.0.x
Same filename and directory in other branches
modules/ubercart/migrations/uc7_product_type.yml
File
modules/ubercart/migrations/uc7_product_type.ymlView source
- id: uc7_product_type
- label: Ubercart product type
- migration_tags:
- - Drupal 7
- - Ubercart
- - Configuration
- source:
- plugin: uc7_product_type
- constants:
- line_item_type: product_variations
- # Do not generate a title.
- generate_title: false
- 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: type
- lineItemType: 'constants/line_item_type'
- generateTitle: 'constants/false'
- injectVariationFields:
- plugin: default_value
- default_value: 1
- destination:
- plugin: 'entity:commerce_product_type'
- destination_module: commerce_product