You are here

d7_comment_entity_display.yml in Drupal 8

core/modules/comment/migrations/d7_comment_entity_display.yml

File

core/modules/comment/migrations/d7_comment_entity_display.yml
View source
  1. id: d7_comment_entity_display
  2. label: Comment display configuration
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. source:
  7. plugin: d7_node_type
  8. constants:
  9. entity_type: node
  10. view_mode: default
  11. options:
  12. label: hidden
  13. type: comment_default
  14. weight: 20
  15. process:
  16. entity_type: 'constants/entity_type'
  17. field_name:
  18. -
  19. plugin: migration_lookup
  20. source: type
  21. migration: d7_comment_type
  22. -
  23. plugin: skip_on_empty
  24. method: row
  25. view_mode: 'constants/view_mode'
  26. options: 'constants/options'
  27. bundle: type
  28. destination:
  29. plugin: component_entity_display
  30. migration_dependencies:
  31. required:
  32. - d7_comment_field_instance