12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- uuid: ab371afe-080e-4b5c-9d09-91fb254b91d3
- langcode: fr
- status: true
- dependencies: { }
- id: upgrade_d6_view_modes
- class: Drupal\migrate\Plugin\Migration
- field_plugin_method: null
- cck_plugin_method: null
- migration_tags:
- - 'Drupal 6'
- migration_group: migrate_drupal_6
- label: 'View modes'
- source:
- plugin: d6_view_mode
- constants:
- targetEntityType: node
- status: true
- process:
- mode:
- plugin: static_map
- source: view_mode
- map:
- 0: normal
- 1: preview
- 2: search_index
- 3: search_result
- 4: rss
- 5: print
- teaser: teaser
- full: full
- label:
- plugin: static_map
- source: view_mode
- map:
- 0: Normal
- 1: Preview
- 2: 'Search index'
- 3: 'Search result'
- 4: RSS
- 5: Print
- teaser: Teaser
- full: Full
- targetEntityType: constants/targetEntityType
- status: constants/status
- destination:
- plugin: 'entity:entity_view_mode'
- migration_dependencies:
- required: { }
- optional: { }
|