You are here

uc7_comment_entity_display.yml in Commerce Migrate 3.0.x

modules/ubercart/migrations/uc7_comment_entity_display.yml

File

modules/ubercart/migrations/uc7_comment_entity_display.yml
View source
  1. id: uc7_comment_entity_display
  2. label: Comment display 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. view_mode: default
  12. options:
  13. label: hidden
  14. type: comment_default
  15. weight: 20
  16. process:
  17. entity_type: 'constants/entity_type'
  18. field_name:
  19. -
  20. plugin: migration_lookup
  21. source: type
  22. migration: uc7_comment_type
  23. -
  24. plugin: skip_on_empty
  25. method: row
  26. view_mode: 'constants/view_mode'
  27. options: 'constants/options'
  28. bundle: type
  29. destination:
  30. plugin: component_entity_display
  31. migration_dependencies:
  32. required:
  33. - uc7_comment_field_instance