Skip to content

Commit

Permalink
Update the paragraph field migrations for timeline and photo essay
Browse files Browse the repository at this point in the history
Ref #440 Ref #459
  • Loading branch information
Keegan Rankin committed Aug 27, 2024
1 parent a6b55f8 commit afb9131
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,35 @@ process:
- 0
- fid
default: null
field_photo_essay_items: field_pece_photo_essay_items
field_photo_essay_items:
-
plugin: sub_process
source: field_pece_photo_essay_items
process:
target_id:
-
plugin: migration_lookup
migration: v1_photo_item
source: target_id
no_stub: TRUE
-
plugin: skip_on_empty
method: process
-
plugin: extract
index: [0]
target_revision_id:
-
plugin: migration_lookup
migration: v1_photo_item
source: target_id
no_stub: TRUE
-
plugin: skip_on_empty
method: process
-
plugin: extract
index: [1]
field_pece_geolocation: locations
field_pece_license: field_pece_license
field_ark_enabled:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,35 @@ process:
source: field_pece_project_ref
default_value: null
field_pece_license: field_pece_license
field_timeline_essay_items: field_pece_timeline_essay_items
field_timeline_essay_items:
-
plugin: sub_process
source: field_pece_timeline_essay_items
process:
target_id:
-
plugin: migration_lookup
migration: v1_timeline_item
source: target_id
no_stub: TRUE
-
plugin: skip_on_empty
method: process
-
plugin: extract
index: [0]
target_revision_id:
-
plugin: migration_lookup
migration: v1_timeline_item
source: target_id
no_stub: TRUE
-
plugin: skip_on_empty
method: process
-
plugin: extract
index: [1]
field_pece_all_can_view:
plugin: default_value
source: permission_all_user_view
Expand Down

0 comments on commit afb9131

Please sign in to comment.