d7_view_modes.yml

Same filename in other branches
  1. 9 core/modules/field/migrations/d7_view_modes.yml
  2. 10 core/modules/field/migrations/d7_view_modes.yml
  3. 11.x core/modules/field/migrations/d7_view_modes.yml
core/modules/field/migrations/d7_view_modes.yml

File

core/modules/field/migrations/d7_view_modes.yml

View source
  1. id: d7_view_modes
  2. label: View modes
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. source:
  7. plugin: d7_view_mode
  8. process:
  9. mode:
  10. plugin: static_map
  11. source: view_mode
  12. bypass: true
  13. map:
  14. default: full
  15. label:
  16. plugin: static_map
  17. source: view_mode
  18. bypass: true
  19. map:
  20. search_index: "Search index"
  21. search_result: "Search result"
  22. rss: "RSS"
  23. print: "Print"
  24. teaser: "Teaser"
  25. full: "Full"
  26. default: "Full"
  27. targetEntityType: entity_type
  28. destination:
  29. plugin: entity:entity_view_mode

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.