You are here

uc7_comment_field.yml in Commerce Migrate 8.2

modules/ubercart/migrations/uc7_comment_field.yml

File

modules/ubercart/migrations/uc7_comment_field.yml
View source
  1. id: uc7_comment_field
  2. label: Comment field configuration
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. - Ubercart
  7. source:
  8. plugin: uc7_product_type
  9. constants:
  10. entity_type: commerce_product
  11. type: comment
  12. process:
  13. entity_type: 'constants/entity_type'
  14. field_name:
  15. -
  16. plugin: migration_lookup
  17. source: type
  18. migration: uc7_comment_type
  19. -
  20. plugin: skip_on_empty
  21. method: row
  22. type: 'constants/type'
  23. 'settings/comment_type': '@field_name'
  24. destination:
  25. plugin: entity:field_storage_config
  26. migration_dependencies:
  27. required:
  28. - uc7_comment_type