You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
910 B

4 years ago
  1. uuid: 80bcf1c7-9cf2-433a-9642-752b388de2c9
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d7_view_modes
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 7'
  11. - Configuration
  12. migration_group: migrate_drupal_7
  13. label: 'View modes'
  14. source:
  15. plugin: d7_view_mode
  16. process:
  17. mode:
  18. -
  19. plugin: static_map
  20. source: view_mode
  21. bypass: true
  22. map:
  23. default: full
  24. label:
  25. -
  26. plugin: static_map
  27. source: view_mode
  28. bypass: true
  29. map:
  30. search_index: 'Search index'
  31. search_result: 'Search result'
  32. rss: RSS
  33. print: Print
  34. teaser: Teaser
  35. full: Full
  36. default: Full
  37. targetEntityType:
  38. -
  39. plugin: get
  40. source: entity_type
  41. destination:
  42. plugin: 'entity:entity_view_mode'
  43. migration_dependencies:
  44. required: { }
  45. optional: { }