You are here

d6_view_modes.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/node/migration_templates/d6_view_modes.yml
core/modules/node/migration_templates/d6_view_modes.yml

File

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