mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-01-12 23:24:34 +00:00
Add upgrade_d7_view_modes configuration migration
Copied from ref_migrations folder
This commit is contained in:
parent
2ab491fb16
commit
2396b0fd04
1 changed files with 52 additions and 0 deletions
|
@ -0,0 +1,52 @@
|
||||||
|
uuid: 47e53956-945c-4d0e-afb0-5f19f1b35525
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: upgrade_d7_view_modes
|
||||||
|
class: Drupal\migrate\Plugin\Migration
|
||||||
|
field_plugin_method: null
|
||||||
|
cck_plugin_method: null
|
||||||
|
migration_tags:
|
||||||
|
- 'Drupal 7'
|
||||||
|
- Configuration
|
||||||
|
migration_group: migrate_drupal_7
|
||||||
|
label: 'View modes'
|
||||||
|
source:
|
||||||
|
plugin: d7_view_mode
|
||||||
|
process:
|
||||||
|
mode:
|
||||||
|
-
|
||||||
|
plugin: static_map
|
||||||
|
source: view_mode
|
||||||
|
bypass: true
|
||||||
|
map:
|
||||||
|
default: full
|
||||||
|
label:
|
||||||
|
-
|
||||||
|
plugin: static_map
|
||||||
|
source: view_mode
|
||||||
|
bypass: true
|
||||||
|
map:
|
||||||
|
search_index: 'Search index'
|
||||||
|
search_result: 'Search result'
|
||||||
|
rss: RSS
|
||||||
|
print: Print
|
||||||
|
teaser: Teaser
|
||||||
|
full: Full
|
||||||
|
default: Full
|
||||||
|
targetEntityType:
|
||||||
|
-
|
||||||
|
plugin: get
|
||||||
|
source: entity_type
|
||||||
|
-
|
||||||
|
plugin: static_map
|
||||||
|
map:
|
||||||
|
field_collection_item: paragraph
|
||||||
|
paragraphs_item: paragraph
|
||||||
|
bypass: true
|
||||||
|
destination:
|
||||||
|
plugin: 'entity:entity_view_mode'
|
||||||
|
migration_dependencies:
|
||||||
|
required: { }
|
||||||
|
optional:
|
||||||
|
- upgrade_d7_field_collection_type
|
Loading…
Reference in a new issue