mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-01-12 23:24:34 +00:00
Add upgrade_d7_field_group_node_session configuration migration
This commit is contained in:
parent
f7df76ecba
commit
3631220426
1 changed files with 61 additions and 0 deletions
|
@ -0,0 +1,61 @@
|
||||||
|
uuid: 74cd412f-588d-41f7-830a-3f69085156c0
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: upgrade_d7_field_group_node_session
|
||||||
|
class: Drupal\migrate\Plugin\Migration
|
||||||
|
field_plugin_method: null
|
||||||
|
cck_plugin_method: null
|
||||||
|
migration_tags:
|
||||||
|
- 'Drupal 7'
|
||||||
|
- Configuration
|
||||||
|
migration_group: migrate_drupal_7
|
||||||
|
label: 'Field groups of node (bundle: session)'
|
||||||
|
source:
|
||||||
|
plugin: d7_field_group
|
||||||
|
entity_type: node
|
||||||
|
bundle: session
|
||||||
|
process:
|
||||||
|
entity_type:
|
||||||
|
-
|
||||||
|
plugin: get
|
||||||
|
source: entity_type
|
||||||
|
-
|
||||||
|
plugin: static_map
|
||||||
|
map:
|
||||||
|
field_collection_item: paragraph
|
||||||
|
paragraphs_item: paragraph
|
||||||
|
bypass: true
|
||||||
|
bundle:
|
||||||
|
-
|
||||||
|
plugin: get
|
||||||
|
source: bundle
|
||||||
|
mode:
|
||||||
|
-
|
||||||
|
plugin: static_map
|
||||||
|
source: mode
|
||||||
|
bypass: true
|
||||||
|
map:
|
||||||
|
form: default
|
||||||
|
type:
|
||||||
|
-
|
||||||
|
plugin: static_map
|
||||||
|
source: mode
|
||||||
|
default_value: entity_view_display
|
||||||
|
map:
|
||||||
|
form: entity_form_display
|
||||||
|
group_name:
|
||||||
|
-
|
||||||
|
plugin: get
|
||||||
|
source: group_name
|
||||||
|
settings:
|
||||||
|
-
|
||||||
|
plugin: get
|
||||||
|
source: settings
|
||||||
|
destination:
|
||||||
|
plugin: d7_field_group
|
||||||
|
migration_dependencies:
|
||||||
|
required:
|
||||||
|
- upgrade_d7_view_modes
|
||||||
|
optional:
|
||||||
|
- upgrade_d7_field_collection_type
|
Loading…
Reference in a new issue