Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_migrate
Commits
d6d64db8
Commit
d6d64db8
authored
Aug 11, 2021
by
Chris Shantz
Browse files
Merge branch '1.0.x' into prod/1.0.x
parents
ea05fde7
34f5d7d1
Changes
54
Hide whitespace changes
Inline
Side-by-side
migrations/block_content/uw_cbl_call_to_action.yml
View file @
d6d64db8
...
...
@@ -6,20 +6,33 @@ migration_tags:
-
Drupal
7
-
Content
-
Block
deriver
:
Drupal\uw_migrate\Plugin\migrate\UwContentFieldsDeriver
source
:
plugin
:
uw_node
node_type
:
uw_embedded_call_to_action
plugin
:
uw_cta
load
:
nodes
fields
:
-
entity_id
id_fields
:
entity_id
:
type
:
integer
nid
:
type
:
integer
ignore_map
:
true
process
:
info
:
title
pseudo_paragraph_ids
:
plugin
:
sub_process
source
:
field_call_to_action
include_source
:
true
process
:
entity_id
:
source/entity_id
item_id
:
value
pseudo_field_uw_cta_details
:
plugin
:
migration_lookup
# Proper migration is set in deriver class.
migration
:
uw_para_call_to_action
source
:
'
@pseudo_paragraph_ids'
no_stub
:
true
field_uw_cta_details
:
plugin
:
sub_process
source
:
'
@pseudo_field_uw_cta_details'
...
...
migrations/block_content/uw_cbl_copy_text.yml
View file @
d6d64db8
...
...
@@ -41,9 +41,6 @@ process:
uw_ct_event
:
{}
uw_ct_news_item
:
{}
uw_ct_profile
:
{}
uw_ct_sidebar
:
{}
uw_ct_sidebar_promo_item
:
{}
uw_ct_site_footer
:
{}
uw_ct_web_page
:
{}
-
plugin
:
uw_dom_inline_image_handler
-
plugin
:
dom
...
...
migrations/block_content/uw_cbl_image_gallery.yml
View file @
d6d64db8
...
...
@@ -6,9 +6,17 @@ migration_tags:
-
Drupal
7
-
Content
-
Block
deriver
:
Drupal\uw_migrate\Plugin\migrate\UwContentFieldsDeriver
source
:
plugin
:
uw_node
node_type
:
uw_image_gallery
plugin
:
uw_image_gallery
fields
:
-
entity_id
id_fields
:
entity_id
:
type
:
integer
nid
:
type
:
integer
ignore_map
:
true
process
:
info
:
title
field_uw_ig_images
:
...
...
migrations/block_content/uw_cbl_related_links.yml
View file @
d6d64db8
...
...
@@ -10,20 +10,36 @@ source:
plugin
:
uw_node
node_type
:
[
uw_web_page
,
uw_catalog_item
,
uw_service
,
uw_web_form
]
process
:
info
:
title
info
:
plugin
:
default_value
default_value
:
'
Related
links'
# skip_on_empty doesn't work correctly with multiple values.
field_uw_rl_related_link
:
-
plugin
:
single_value
-
plugin
:
single_value
source
:
field_related_link
-
plugin
:
skip_on_empty
-
plugin
:
skip_on_empty
method
:
row
message
:
'
Field
field_related_link
is
empty.'
-
plugin
:
field_link
uri_scheme
:
https://
-
plugin
:
sub_process
# Use source again to get all values.
source
:
field_related_link
process
:
url
:
plugin
:
uw_migration_lookup_path
source
:
url
title
:
title
attributes
:
attributes
-
plugin
:
field_link
uri_scheme
:
https://
destination
:
plugin
:
entity:block_content
default_bundle
:
uw_cbl_related_links
migration_dependencies
:
optional
:
-
uw_ct_blog
-
uw_ct_catalog_item
-
uw_ct_contact
-
uw_ct_event
-
uw_ct_news_item
-
uw_ct_profile
-
uw_ct_web_page
migrations/block_content/uw_cbl_tableau.yml
View file @
d6d64db8
...
...
@@ -35,6 +35,7 @@ process:
map
:
no
:
'
No'
yes
:
'
Yes'
default_value
:
'
No'
destination
:
plugin
:
entity:block_content
default_bundle
:
uw_cbl_tableau
migrations/block_content/uw_field_body_no_summary_promo_item.yml
View file @
d6d64db8
...
...
@@ -30,9 +30,6 @@ process:
uw_ct_event
:
{}
uw_ct_news_item
:
{}
uw_ct_profile
:
{}
uw_ct_sidebar
:
{}
uw_ct_sidebar_promo_item
:
{}
uw_ct_site_footer
:
{}
uw_ct_web_page
:
{}
-
plugin
:
uw_dom_inline_image_handler
-
plugin
:
dom
...
...
migrations/layout_builder/uw_cbl_related_links_lb.yml
View file @
d6d64db8
...
...
@@ -11,30 +11,23 @@ source:
node_type
:
[
uw_web_page
,
uw_catalog_item
,
uw_service
,
uw_web_form
]
process
:
nid
:
-
plugin
:
migration_lookup
-
plugin
:
migration_lookup
migration
:
-
uw_ct_sidebar
-
uw_ct_sidebar_promo_item
source
:
nid
no_stub
:
true
-
plugin
:
skip_on_empty
-
plugin
:
skip_on_empty
method
:
row
message
:
'
Base
node
was
not
found.'
bid
:
-
plugin
:
migration_lookup
-
plugin
:
migration_lookup
migration
:
-
uw_cbl_related_links
source
:
nid
no_stub
:
true
-
plugin
:
skip_on_empty
-
plugin
:
skip_on_empty
method
:
row
delta
:
plugin
:
default_value
default_value
:
0
region
:
plugin
:
default_value
default_value
:
'
first'
...
...
@@ -52,3 +45,4 @@ migration_dependencies:
-
uw_ct_catalog_item
-
uw_web_page
-
uw_service
-
uw_field_sidebar_content_lb
migrations/media/uw_mt_remote_video.yml
View file @
d6d64db8
...
...
@@ -17,15 +17,12 @@ source:
type
:
integer
ref_id
:
type
:
string
join
:
-
table
:
node
condition
:
'
t.entity_id
=
node.nid'
fields
:
-
uid
-
status
-
created
-
changed
columns
:
n
:
-
uid
-
status
-
created
-
changed
ignore_map
:
true
process
:
field_media_oembed_video
:
...
...
migrations/node/uw_ct_blog.yml
View file @
d6d64db8
...
...
@@ -72,7 +72,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
field_uw_meta_tags
:
...
...
migrations/node/uw_ct_catalog_item.yml
View file @
d6d64db8
...
...
@@ -67,7 +67,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
field_uw_meta_tags
:
...
...
migrations/node/uw_ct_contact.yml
View file @
d6d64db8
...
...
@@ -41,13 +41,15 @@ process:
no_stub
:
true
field_uw_ct_contact_info
:
field_contact_additional_info/0/value
field_uw_ct_contact_link_profile
:
plugin
:
field_link
uri_scheme
:
https://
source
:
field_contact_profile_url
-
plugin
:
uw_migration_lookup_path
source
:
field_contact_profile_url
-
plugin
:
field_link
uri_scheme
:
https://
field_uw_ct_contact_link_persona
:
plugin
:
field_link
uri_scheme
:
https://
source
:
field_contact_website_url
-
plugin
:
uw_migration_lookup_path
source
:
field_contact_website_url
-
plugin
:
field_link
uri_scheme
:
https://
field_uw_meta_description
:
field_contact_title/0/value
uid
:
-
...
...
@@ -74,7 +76,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
field_uw_meta_tags
:
...
...
migrations/node/uw_ct_event.yml
View file @
d6d64db8
...
...
@@ -16,13 +16,15 @@ process:
plugin
:
uw_smartdate
source
:
field_event_date
field_uw_event_host
:
plugin
:
field_link
uri_scheme
:
https://
source
:
field_event_host_link
-
plugin
:
uw_migration_lookup_path
source
:
field_event_host_link
-
plugin
:
field_link
uri_scheme
:
https://
field_uw_event_website
:
plugin
:
field_link
uri_scheme
:
https://
source
:
field_event_moreinfo_link
-
plugin
:
uw_migration_lookup_path
source
:
field_event_moreinfo_link
-
plugin
:
field_link
uri_scheme
:
https://
field_uw_event_cost
:
field_event_cost/0/value
field_uw_event_location_address
:
plugin
:
location_to_address
...
...
@@ -85,7 +87,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
field_uw_meta_tags
:
...
...
@@ -100,3 +108,5 @@ migration_dependencies:
-
uw_taxonomy_term
optional
:
-
uw_mt_image
-
uw_ct_profile
-
uw_ct_contact
migrations/node/uw_ct_news_item.yml
View file @
d6d64db8
...
...
@@ -66,7 +66,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
field_uw_meta_tags
:
...
...
migrations/node/uw_ct_profile.yml
View file @
d6d64db8
...
...
@@ -69,7 +69,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
field_uw_meta_tags
:
...
...
migrations/node/uw_ct_sidebar.yml
View file @
d6d64db8
...
...
@@ -56,7 +56,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
destination
:
...
...
migrations/node/uw_ct_sidebar_promo_item.yml
View file @
d6d64db8
...
...
@@ -47,7 +47,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
destination
:
...
...
migrations/node/uw_ct_site_footer.yml
View file @
d6d64db8
...
...
@@ -44,7 +44,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
destination
:
...
...
migrations/node/uw_ct_web_page.yml
View file @
d6d64db8
...
...
@@ -14,13 +14,11 @@ process:
nid
:
front_nid
title
:
title
uid
:
-
plugin
:
migration_lookup
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
node_uid
no_stub
:
true
-
plugin
:
default_value
-
plugin
:
default_value
default_value
:
0
field_uw_meta_image
:
plugin
:
migration_lookup
...
...
@@ -47,7 +45,13 @@ process:
changed
:
changed
promote
:
promote
sticky
:
sticky
revision_uid
:
revision_uid
revision_uid
:
-
plugin
:
migration_lookup
migration
:
uw_user
source
:
revision_uid
no_stub
:
true
-
plugin
:
default_value
default_value
:
0
revision_log
:
log
revision_timestamp
:
timestamp
field_uw_meta_tags
:
...
...
migrations/paragraph/uw_para_call_to_action.yml
View file @
d6d64db8
id
:
uw_para_call_to_action
label
:
'
Call
to
action
paragraphs'
migration_group
:
uw
migration_tags
:
-
Drupal
7
-
Content
-
Paragraph
migration_group
:
uw
deriver
:
Drupal\uw_migrate\Plugin\migrate\UwContentFieldsDeriver
source
:
plugin
:
d7_paragraphs_item
bundle
:
call_to_action
batch_size
:
200
plugin
:
uw_cta
load
:
paragraphs
fields
:
-
entity_id
id_fields
:
entity_id
:
type
:
integer
item_id
:
type
:
integer
ignore_map
:
true
process
:
field_uw_cta_link
:
plugin
:
field_link
uri_scheme
:
https://
source
:
field_cta_link
-
plugin
:
uw_migration_lookup_path
source
:
field_cta_link
-
plugin
:
field_link
uri_scheme
:
https://
field_uw_cta_text_details/0/text_value
:
plugin
:
null
_coalesce
source
:
...
...
@@ -57,3 +66,12 @@ process:
destination
:
plugin
:
entity_reference_revisions:paragraph
default_bundle
:
uw_para_call_to_action
migration_dependencies
:
optional
:
-
uw_ct_blog
-
uw_ct_catalog_item
-
uw_ct_contact
-
uw_ct_event
-
uw_ct_news_item
-
uw_ct_profile
-
uw_ct_web_page
migrations/paragraph/uw_para_ff.yml
View file @
d6d64db8
...
...
@@ -6,7 +6,7 @@ migration_tags:
-
Paragraph
migration_group
:
uw
source
:
plugin
:
d7
_paragraphs_item
plugin
:
uw
_paragraphs_item
bundle
:
eff_highlighted_fact
process
:
field_uw_ff_show_bubbles
:
...
...
@@ -37,6 +37,7 @@ process:
# Black (uWaterloo) is missing in the destination field options.
Black (uWaterloo)
:
org-default
Default (uWaterloo)
:
org-default
default_value
:
org-default
field_uw_ff_textalign
:
plugin
:
static_map
source
:
field_eff_hf_text_align
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment