You are here

d6_view_modes.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/node/migrations/d6_view_modes.yml
core/modules/node/migrations/d6_view_modes.yml

File

core/modules/node/migrations/d6_view_modes.yml
View source
  1. id: d6_view_modes
  2. label: View modes
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. source:
  7. plugin: d6_view_mode
  8. constants:
  9. entity_type: node
  10. status: true
  11. process:
  12. mode:
  13. plugin: static_map
  14. source: view_mode
  15. map:
  16. 0: normal
  17. 1: preview
  18. 2: search_index
  19. 3: search_result
  20. 4: rss
  21. 5: print
  22. teaser: teaser
  23. full: full
  24. label:
  25. plugin: static_map
  26. source: view_mode
  27. map:
  28. 0: "Normal"
  29. 1: "Preview"
  30. 2: "Search index"
  31. 3: "Search result"
  32. 4: "RSS"
  33. 5: "Print"
  34. teaser: "Teaser"
  35. full: "Full"
  36. targetEntityType: 'constants/entity_type'
  37. status: 'constants/status'
  38. destination:
  39. plugin: entity:entity_view_mode