mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2024-11-21 22:43:26 +00:00
Add generated migrations
Migrations created with the migrate_upgrade module using the command ``` drush --yes migrate:upgrade --legacy-db-key='migrate' --legacy-root='http://ddev-migration-drupal7-web' --configure-only ```
This commit is contained in:
parent
1664d5cfe6
commit
f4bd2062fa
85 changed files with 5905 additions and 0 deletions
7
drupal10/ref_migrations/migrate_drupal.settings.yml
Normal file
7
drupal10/ref_migrations/migrate_drupal.settings.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
_core:
|
||||
default_config_hash: 1daEO2inZc1i3d0Sn-ADIq9mUIU7tSLCxn579NT6f2g
|
||||
enforce_source_module_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
follow_up_migration_tags:
|
||||
- 'Follow-up migration'
|
|
@ -0,0 +1,32 @@
|
|||
uuid: bdf334ed-51a1-4c98-9939-c8de024c5504
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_action_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Action configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- actions_max_stack
|
||||
source_module: system
|
||||
process:
|
||||
recursion_limit:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
source: empty
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: null
|
||||
destination_module: system
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,66 @@
|
|||
uuid: 05ffb68b-8cd2-4b23-a024-789b9a18846a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_block_content_body_field
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Block content body field configuration'
|
||||
source:
|
||||
plugin: embedded_data
|
||||
data_rows:
|
||||
-
|
||||
entity_type: block_content
|
||||
bundle: basic
|
||||
field_name: body
|
||||
label: Body
|
||||
display_summary: false
|
||||
allowed_formats: { }
|
||||
ids:
|
||||
entity_type:
|
||||
type: string
|
||||
bundle:
|
||||
type: string
|
||||
field_name:
|
||||
type: string
|
||||
source_module: block
|
||||
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
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_name
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: label
|
||||
settings/display_summary:
|
||||
-
|
||||
plugin: get
|
||||
source: display_summary
|
||||
destination:
|
||||
plugin: 'entity:field_config'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_block_content_type
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,68 @@
|
|||
uuid: 6e55553b-fd39-4a4a-b196-bf30d9ed612a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_block_content_entity_display
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Body field display configuration'
|
||||
source:
|
||||
plugin: embedded_data
|
||||
data_rows:
|
||||
-
|
||||
entity_type: block_content
|
||||
bundle: basic
|
||||
view_mode: default
|
||||
field_name: body
|
||||
options:
|
||||
label: hidden
|
||||
ids:
|
||||
entity_type:
|
||||
type: string
|
||||
bundle:
|
||||
type: string
|
||||
view_mode:
|
||||
type: string
|
||||
field_name:
|
||||
type: string
|
||||
source_module: block
|
||||
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
|
||||
view_mode:
|
||||
-
|
||||
plugin: get
|
||||
source: view_mode
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_name
|
||||
options:
|
||||
-
|
||||
plugin: get
|
||||
source: options
|
||||
destination:
|
||||
plugin: component_entity_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_block_content_body_field
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,62 @@
|
|||
uuid: 8dc8f27e-092c-4bb1-bd57-6700b73248e0
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_block_content_entity_form_display
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Body field form display configuration'
|
||||
source:
|
||||
plugin: embedded_data
|
||||
data_rows:
|
||||
-
|
||||
entity_type: block_content
|
||||
bundle: basic
|
||||
form_mode: default
|
||||
field_name: body
|
||||
ids:
|
||||
entity_type:
|
||||
type: string
|
||||
bundle:
|
||||
type: string
|
||||
form_mode:
|
||||
type: string
|
||||
field_name:
|
||||
type: string
|
||||
source_module: block
|
||||
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
|
||||
form_mode:
|
||||
-
|
||||
plugin: get
|
||||
source: form_mode
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_name
|
||||
destination:
|
||||
plugin: component_entity_form_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_block_content_body_field
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,38 @@
|
|||
uuid: b5f60e91-38b0-4ccd-a67a-d4f8907aa08b
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_block_content_type
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Block content type'
|
||||
source:
|
||||
plugin: embedded_data
|
||||
data_rows:
|
||||
-
|
||||
id: basic
|
||||
label: Basic
|
||||
ids:
|
||||
id:
|
||||
type: string
|
||||
source_module: block
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: get
|
||||
source: id
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: label
|
||||
destination:
|
||||
plugin: 'entity:block_content_type'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,63 @@
|
|||
uuid: 1590c5a3-4584-4839-a394-db6f3b2c2cba
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_action
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: Actions
|
||||
source:
|
||||
plugin: action
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: machine_name
|
||||
source: aid
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: label
|
||||
type:
|
||||
-
|
||||
plugin: get
|
||||
source: type
|
||||
plugin:
|
||||
-
|
||||
plugin: static_map
|
||||
source: callback
|
||||
map:
|
||||
system_goto_action: action_goto_action
|
||||
system_send_email_action: action_send_email_action
|
||||
system_message_action: action_message_action
|
||||
system_block_ip_action: 0
|
||||
comment_publish_action: 'entity:publish_action:comment'
|
||||
comment_unpublish_action: 'entity:unpublish_action:comment'
|
||||
comment_save_action: 'entity:save_action:comment'
|
||||
node_publish_action: 'entity:publish_action:node'
|
||||
node_unpublish_action: 'entity:unpublish_action:node'
|
||||
node_save_action: 'entity:save_action:node'
|
||||
comment_unpublish_by_keyword_action: 0
|
||||
node_unpublish_by_keyword_action: 0
|
||||
node_assign_owner_action: 0
|
||||
bypass: true
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
configuration:
|
||||
-
|
||||
plugin: default_value
|
||||
source: parameters
|
||||
default_value: 'a:0:{}'
|
||||
-
|
||||
plugin: callback
|
||||
callable: unserialize
|
||||
destination:
|
||||
plugin: 'entity:action'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,150 @@
|
|||
uuid: 83a01e0a-181e-4d80-820e-993437e94e24
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_block
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: Blocks
|
||||
source:
|
||||
plugin: block
|
||||
process:
|
||||
status:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
source: status
|
||||
id:
|
||||
-
|
||||
plugin: concat
|
||||
source:
|
||||
- theme
|
||||
- module
|
||||
- delta
|
||||
delimiter: _
|
||||
-
|
||||
plugin: machine_name
|
||||
field: id
|
||||
_block_module_plugin_id:
|
||||
-
|
||||
plugin: static_map
|
||||
source:
|
||||
- module
|
||||
map:
|
||||
block: block
|
||||
default_value: ''
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_custom_block
|
||||
source:
|
||||
- delta
|
||||
plugin:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source:
|
||||
- module
|
||||
- delta
|
||||
map:
|
||||
book:
|
||||
navigation: book_navigation
|
||||
comment:
|
||||
recent: 'views_block:comments_recent-block_1'
|
||||
forum:
|
||||
active: forum_active_block
|
||||
new: forum_new_block
|
||||
node:
|
||||
syndicate: node_syndicate_block
|
||||
search:
|
||||
form: search_form_block
|
||||
statistics:
|
||||
popular: statistics_popular_block
|
||||
system:
|
||||
main: system_main_block
|
||||
powered-by: system_powered_by_block
|
||||
user:
|
||||
login: user_login_block
|
||||
new: 'views_block:who_s_new-block_1'
|
||||
online: 'views_block:who_s_online-who_s_online_block'
|
||||
-
|
||||
plugin: block_plugin_id
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
theme:
|
||||
-
|
||||
plugin: block_theme
|
||||
source:
|
||||
- theme
|
||||
- default_theme
|
||||
- admin_theme
|
||||
region:
|
||||
-
|
||||
plugin: block_region
|
||||
source:
|
||||
- theme
|
||||
- '@theme'
|
||||
- region
|
||||
map:
|
||||
bartik:
|
||||
olivero:
|
||||
featured: highlighted
|
||||
triptych_first: content_below
|
||||
triptych_middle: content_below
|
||||
triptych_last: content_below
|
||||
footer_firstcolumn: footer_top
|
||||
footer_secondcolumn: footer_top
|
||||
footer_thirdcolumn: footer_top
|
||||
footer_fourthcolumn: footer_top
|
||||
footer: footer_bottom
|
||||
seven:
|
||||
claro:
|
||||
header: header
|
||||
pre_content: pre_content
|
||||
breadcrumb: breadcrumb
|
||||
highlighted: highlighted
|
||||
help: help
|
||||
content: content
|
||||
page_top: page_top
|
||||
page_bottom: page_bottom
|
||||
sidebar_first: sidebar_first
|
||||
default_value: content
|
||||
weight:
|
||||
-
|
||||
plugin: get
|
||||
source: weight
|
||||
settings:
|
||||
-
|
||||
plugin: block_settings
|
||||
source:
|
||||
- '@plugin'
|
||||
- delta
|
||||
- settings
|
||||
- title
|
||||
_role_ids:
|
||||
-
|
||||
plugin: roles_lookup
|
||||
migration: d7_user_role
|
||||
visibility:
|
||||
-
|
||||
plugin: block_visibility
|
||||
source:
|
||||
- visibility
|
||||
- pages
|
||||
- roles
|
||||
skip_php: true
|
||||
destination:
|
||||
plugin: 'entity:block'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional:
|
||||
- upgrade_d7_custom_block
|
||||
- upgrade_d7_user_role
|
|
@ -0,0 +1,43 @@
|
|||
uuid: 5497bb02-26a3-4766-b6ef-8614aff7f34e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_custom_block
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Content blocks'
|
||||
source:
|
||||
plugin: d7_block_custom
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: get
|
||||
source: bid
|
||||
info:
|
||||
-
|
||||
plugin: get
|
||||
source: info
|
||||
body/format:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_filter_format
|
||||
source: format
|
||||
body/value:
|
||||
-
|
||||
plugin: get
|
||||
source: body
|
||||
destination:
|
||||
plugin: 'entity:block_content'
|
||||
default_bundle: basic
|
||||
no_stub: true
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_filter_format
|
||||
- upgrade_block_content_body_field
|
||||
optional:
|
||||
- upgrade_d7_filter_format
|
|
@ -0,0 +1,29 @@
|
|||
uuid: 32c18db1-472f-429d-a848-7d6f95778b4e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_dblog_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Database logging configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- dblog_row_limit
|
||||
source_module: dblog
|
||||
process:
|
||||
row_limit:
|
||||
-
|
||||
plugin: get
|
||||
source: dblog_row_limit
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: dblog.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,86 @@
|
|||
uuid: 30f95a1e-ce50-4029-9fee-7fdd68d43ea2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_field
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: alterFieldMigration
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Field configuration'
|
||||
source:
|
||||
plugin: d7_field
|
||||
constants:
|
||||
status: true
|
||||
langcode: und
|
||||
process:
|
||||
entity_type:
|
||||
-
|
||||
plugin: get
|
||||
source: entity_type
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
field_collection_item: paragraph
|
||||
paragraphs_item: paragraph
|
||||
bypass: true
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/status
|
||||
langcode:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/langcode
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_name
|
||||
type:
|
||||
-
|
||||
plugin: process_field
|
||||
source: type
|
||||
method: getFieldType
|
||||
map:
|
||||
d7_text:
|
||||
d7_text: d7_text
|
||||
taxonomy_term_reference:
|
||||
taxonomy_term_reference: taxonomy_term_reference
|
||||
image:
|
||||
image: image
|
||||
email:
|
||||
email: email
|
||||
field_url:
|
||||
field_url: field_url
|
||||
addressfield:
|
||||
addressfield: addressfield
|
||||
telephone:
|
||||
telephone: telephone
|
||||
entityreference:
|
||||
entityreference: entityreference
|
||||
file:
|
||||
file: file
|
||||
list:
|
||||
list: list
|
||||
datetime:
|
||||
datetime: datetime
|
||||
number_default:
|
||||
number_default: number_default
|
||||
cardinality:
|
||||
-
|
||||
plugin: get
|
||||
source: cardinality
|
||||
settings:
|
||||
0:
|
||||
plugin: d7_field_settings
|
||||
field_collection:
|
||||
plugin: field_collection_field_settings
|
||||
destination:
|
||||
plugin: 'entity:field_storage_config'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,50 @@
|
|||
uuid: 471b5729-b3c8-4750-9e09-076c769c85d0
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_field_collection_favorite_quote
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- 'Field Collection Content'
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Field Collections (Favorite quote)'
|
||||
source:
|
||||
plugin: d7_field_collection_item
|
||||
field_name: field_favorite_quote
|
||||
process:
|
||||
type:
|
||||
-
|
||||
plugin: get
|
||||
source: bundle
|
||||
parent_id:
|
||||
-
|
||||
plugin: get
|
||||
source: parent_id
|
||||
parent_type:
|
||||
-
|
||||
plugin: get
|
||||
source: parent_type
|
||||
parent_field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_name
|
||||
field_quote_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_quote_name
|
||||
field_quote_message:
|
||||
-
|
||||
plugin: get
|
||||
source: field_quote_message
|
||||
destination:
|
||||
plugin: 'entity_reference_revisions:paragraph'
|
||||
default_bundle: favorite_quote
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_field_collection_type
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,60 @@
|
|||
uuid: d21613e5-e814-4728-88a5-16c6bd8d4cf1
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_field_collection_revisions_favorite_quote
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- 'Field Collection Revisions Content'
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Field Collection Revisions (Favorite quote)'
|
||||
source:
|
||||
plugin: d7_field_collection_item_revision
|
||||
field_name: field_favorite_quote
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: paragraphs_lookup
|
||||
tags:
|
||||
- 'Field Collection Content'
|
||||
source: item_id
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- id
|
||||
type:
|
||||
-
|
||||
plugin: get
|
||||
source: bundle
|
||||
parent_id:
|
||||
-
|
||||
plugin: get
|
||||
source: parent_id
|
||||
parent_type:
|
||||
-
|
||||
plugin: get
|
||||
source: parent_type
|
||||
parent_field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_name
|
||||
field_quote_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_quote_name
|
||||
field_quote_message:
|
||||
-
|
||||
plugin: get
|
||||
source: field_quote_message
|
||||
destination:
|
||||
plugin: 'entity_reference_revisions:paragraph'
|
||||
new_revisions: true
|
||||
default_bundle: favorite_quote
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_field_collection_favorite_quote
|
||||
optional: { }
|
|
@ -0,0 +1,34 @@
|
|||
uuid: de3bc34f-ded0-4e1e-9012-ffea66e933d7
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_field_collection_type
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Paragraphs - Field Collection type configuration'
|
||||
source:
|
||||
plugin: d7_field_collection_type
|
||||
add_description: true
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: get
|
||||
source: bundle
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
description:
|
||||
-
|
||||
plugin: get
|
||||
source: description
|
||||
destination:
|
||||
plugin: 'entity:paragraphs_type'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,181 @@
|
|||
uuid: 96e322a2-20b4-473f-953b-902f5a6d3503
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_field_formatter_settings
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: alterFieldFormatterMigration
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Field formatter configuration'
|
||||
source:
|
||||
plugin: d7_field_instance_per_view_mode
|
||||
constants:
|
||||
third_party_settings: { }
|
||||
process:
|
||||
field_type_exists:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_field
|
||||
source:
|
||||
- field_name
|
||||
- entity_type
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 0
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
entity_type:
|
||||
-
|
||||
plugin: get
|
||||
source: entity_type
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
field_collection_item: paragraph
|
||||
paragraphs_item: paragraph
|
||||
bypass: true
|
||||
bundle:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_field_instance
|
||||
source:
|
||||
- entity_type
|
||||
- bundle
|
||||
- field_name
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
view_mode:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_view_modes
|
||||
source:
|
||||
- entity_type
|
||||
- view_mode
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
map:
|
||||
full: default
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_name
|
||||
options/label:
|
||||
-
|
||||
plugin: get
|
||||
source: formatter/label
|
||||
options/weight:
|
||||
-
|
||||
plugin: get
|
||||
source: formatter/weight
|
||||
plugin_id:
|
||||
-
|
||||
plugin: process_field
|
||||
source: type
|
||||
method: getPluginId
|
||||
formatter_type:
|
||||
-
|
||||
plugin: process_field
|
||||
source: type
|
||||
method: getFieldFormatterType
|
||||
options/type:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source:
|
||||
- '@plugin_id'
|
||||
- '@formatter_type'
|
||||
map:
|
||||
taxonomy_term_reference:
|
||||
taxonomy_term_reference_link: entity_reference_label
|
||||
taxonomy_term_reference_plain: entity_reference_label
|
||||
taxonomy_term_reference_rss_category: entity_reference_label
|
||||
i18n_taxonomy_term_reference_link: entity_reference_label
|
||||
i18n_taxonomy_term_reference_plain: entity_reference_label
|
||||
entityreference_entity_view: entity_reference_entity_view
|
||||
email:
|
||||
email_formatter_default: email_mailto
|
||||
email_formatter_contact: basic_string
|
||||
email_formatter_plain: basic_string
|
||||
email_formatter_spamspan: basic_string
|
||||
email_default: email_mailto
|
||||
email_contact: basic_string
|
||||
email_plain: basic_string
|
||||
email_spamspan: basic_string
|
||||
field_url:
|
||||
url_default: link
|
||||
url_plain: link
|
||||
field_collection:
|
||||
field_collection_view: entity_reference_revisions_entity_view
|
||||
addressfield:
|
||||
addressfield_default: address_default
|
||||
telephone:
|
||||
text_plain: string
|
||||
telephone_link: telephone_link
|
||||
entityreference:
|
||||
entityreference_label: entity_reference_label
|
||||
entityreference_entity_id: entity_reference_entity_id
|
||||
entityreference_entity_view: entity_reference_entity_view
|
||||
file:
|
||||
default: file_default
|
||||
url_plain: file_url_plain
|
||||
path_plain: file_url_plain
|
||||
image_plain: image
|
||||
image_nodelink: image
|
||||
image_imagelink: image
|
||||
datetime:
|
||||
date_default: datetime_default
|
||||
format_interval: datetime_time_ago
|
||||
date_plain: datetime_plain
|
||||
-
|
||||
plugin: d7_field_type_defaults
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
hidden:
|
||||
-
|
||||
plugin: static_map
|
||||
source: '@options/type'
|
||||
map:
|
||||
hidden: true
|
||||
default_value: false
|
||||
options/settings:
|
||||
-
|
||||
plugin: default_value
|
||||
source: formatter/settings
|
||||
default_value: { }
|
||||
options/third_party_settings:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/third_party_settings
|
||||
options/settings/view_mode:
|
||||
field_collection:
|
||||
plugin: paragraphs_process_on_value
|
||||
source_value: type
|
||||
expected_value: field_collection
|
||||
process:
|
||||
plugin: get
|
||||
source: formatter/settings/view_mode
|
||||
destination:
|
||||
plugin: component_entity_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_field_instance
|
||||
- upgrade_d7_view_modes
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
||||
- upgrade_d7_field
|
||||
- upgrade_d7_field_instance
|
||||
- upgrade_d7_view_modes
|
|
@ -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
|
|
@ -0,0 +1,130 @@
|
|||
uuid: 4e8c4b5e-989b-4830-a9d6-ed35292d2291
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_field_instance
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: alterFieldInstanceMigration
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Field instance configuration'
|
||||
source:
|
||||
plugin: d7_field_instance
|
||||
constants:
|
||||
status: true
|
||||
comment_node: comment_node_
|
||||
process:
|
||||
type:
|
||||
-
|
||||
plugin: process_field
|
||||
source: type
|
||||
method: getFieldType
|
||||
entity_type:
|
||||
-
|
||||
plugin: get
|
||||
source: entity_type
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
field_collection_item: paragraph
|
||||
paragraphs_item: paragraph
|
||||
bypass: true
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_name
|
||||
bundle_mapped:
|
||||
-
|
||||
plugin: static_map
|
||||
source: bundle
|
||||
bypass: true
|
||||
map:
|
||||
comment_node_forum: comment_forum
|
||||
-
|
||||
plugin: paragraphs_process_on_value
|
||||
source_value: entity_type
|
||||
expected_value: field_collection_item
|
||||
process:
|
||||
plugin: paragraphs_strip_field_prefix
|
||||
_comment_type:
|
||||
-
|
||||
plugin: explode
|
||||
source: bundle
|
||||
delimiter: comment_node_
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
default: false
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: { }
|
||||
bundle:
|
||||
-
|
||||
plugin: field_bundle
|
||||
source:
|
||||
- entity_type
|
||||
- '@bundle_mapped'
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: label
|
||||
description:
|
||||
-
|
||||
plugin: get
|
||||
source: description
|
||||
required:
|
||||
-
|
||||
plugin: get
|
||||
source: required
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/status
|
||||
allowed_values:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: allowed_vid
|
||||
process:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_taxonomy_vocabulary
|
||||
source: vid
|
||||
settings:
|
||||
0:
|
||||
plugin: d7_field_instance_settings
|
||||
source:
|
||||
- settings
|
||||
- widget
|
||||
- field_definition
|
||||
field_collection:
|
||||
plugin: field_collection_field_instance_settings
|
||||
default_value_function:
|
||||
-
|
||||
plugin: get
|
||||
source: ''
|
||||
default_value:
|
||||
-
|
||||
plugin: d7_field_instance_defaults
|
||||
source:
|
||||
- default_value
|
||||
- widget
|
||||
translatable:
|
||||
-
|
||||
plugin: get
|
||||
source: translatable
|
||||
destination:
|
||||
plugin: 'entity:field_config'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_field
|
||||
optional:
|
||||
- upgrade_d7_node_type
|
||||
- upgrade_d7_taxonomy_vocabulary
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,124 @@
|
|||
uuid: 25b78f74-36a9-4491-91de-b4c46de87752
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_field_instance_widget_settings
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: alterFieldWidgetMigration
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Field instance widget configuration'
|
||||
source:
|
||||
plugin: d7_field_instance_per_form_display
|
||||
constants:
|
||||
form_mode: default
|
||||
third_party_settings: { }
|
||||
process:
|
||||
field_type_exists:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_field
|
||||
source:
|
||||
- field_name
|
||||
- entity_type
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 0
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
bundle:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_field_instance
|
||||
source:
|
||||
- entity_type
|
||||
- bundle
|
||||
- field_name
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
form_mode:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/form_mode
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: field_name
|
||||
entity_type:
|
||||
-
|
||||
plugin: get
|
||||
source: entity_type
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
field_collection_item: paragraph
|
||||
paragraphs_item: paragraph
|
||||
bypass: true
|
||||
options/weight:
|
||||
-
|
||||
plugin: get
|
||||
source: widget/weight
|
||||
widget_type:
|
||||
-
|
||||
plugin: process_field
|
||||
source: type
|
||||
method: getFieldWidgetType
|
||||
options/type:
|
||||
type:
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: '@widget_type'
|
||||
map:
|
||||
link_field: link_default
|
||||
email_textfield: email_default
|
||||
date_select: datetime_default
|
||||
date_text: datetime_default
|
||||
date_popup: datetime_default
|
||||
media_generic: file_generic
|
||||
phone_textfield: telephone_default
|
||||
options_onoff: boolean_checkbox
|
||||
entityreference_autocomplete: entity_reference_autocomplete
|
||||
entityreference_autocomplete_tags: entity_reference_autocomplete_tags
|
||||
taxonomy_autocomplete: entity_reference_autocomplete
|
||||
d7_text: d7_text_default
|
||||
taxonomy_term_reference: taxonomy_term_reference_default
|
||||
image: image_default
|
||||
image_miw: image_image
|
||||
url_external: link_default
|
||||
field_collection_embed: entity_reference_paragraphs
|
||||
field_collection: field_collection_default
|
||||
addressfield_standard: address_default
|
||||
entityreference: entityreference_default
|
||||
file_mfw: file_generic
|
||||
filefield_widget: file_generic
|
||||
list: list_default
|
||||
date: datetime_default
|
||||
datetime: datetime_default
|
||||
datestamp: datetime_timestamp
|
||||
number_default: number_default_default
|
||||
options/settings:
|
||||
-
|
||||
plugin: field_instance_widget_settings
|
||||
source:
|
||||
- widget/type
|
||||
- widget/settings
|
||||
options/third_party_settings:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/third_party_settings
|
||||
destination:
|
||||
plugin: component_entity_form_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_field_instance
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
||||
- upgrade_d7_field
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,67 @@
|
|||
uuid: bb7a5391-aef1-45a5-8c08-248c09f56193
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_file
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Public files'
|
||||
source:
|
||||
plugin: d7_file
|
||||
scheme: public
|
||||
constants:
|
||||
source_base_path: 'http://ddev-migration-drupal7-web/'
|
||||
process:
|
||||
fid:
|
||||
-
|
||||
plugin: get
|
||||
source: fid
|
||||
filename:
|
||||
-
|
||||
plugin: get
|
||||
source: filename
|
||||
source_full_path:
|
||||
-
|
||||
plugin: concat
|
||||
delimiter: /
|
||||
source:
|
||||
- constants/source_base_path
|
||||
- filepath
|
||||
-
|
||||
plugin: urlencode
|
||||
uri:
|
||||
-
|
||||
plugin: file_copy
|
||||
source:
|
||||
- '@source_full_path'
|
||||
- uri
|
||||
filemime:
|
||||
-
|
||||
plugin: get
|
||||
source: filemime
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: uid
|
||||
destination:
|
||||
plugin: 'entity:file'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,65 @@
|
|||
uuid: a2400a4c-970d-436b-9302-fdf6c159d947
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_file_private
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Private files'
|
||||
source:
|
||||
plugin: d7_file
|
||||
scheme: private
|
||||
constants:
|
||||
source_base_path: 'http://ddev-migration-drupal7-web/'
|
||||
process:
|
||||
fid:
|
||||
-
|
||||
plugin: get
|
||||
source: fid
|
||||
filename:
|
||||
-
|
||||
plugin: get
|
||||
source: filename
|
||||
source_full_path:
|
||||
-
|
||||
plugin: concat
|
||||
delimiter: /
|
||||
source:
|
||||
- constants/source_base_path
|
||||
- filepath
|
||||
uri:
|
||||
-
|
||||
plugin: file_copy
|
||||
source:
|
||||
- '@source_full_path'
|
||||
- uri
|
||||
filemime:
|
||||
-
|
||||
plugin: get
|
||||
source: filemime
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: uid
|
||||
destination:
|
||||
plugin: 'entity:file'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,61 @@
|
|||
uuid: 2bc902a3-a6f0-4865-8071-915556fb62bb
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_filter_format
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Filter format configuration'
|
||||
source:
|
||||
plugin: d7_filter_format
|
||||
process:
|
||||
format:
|
||||
-
|
||||
plugin: get
|
||||
source: format
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
cache:
|
||||
-
|
||||
plugin: get
|
||||
source: cache
|
||||
weight:
|
||||
-
|
||||
plugin: get
|
||||
source: weight
|
||||
filters:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: filters
|
||||
key: '@id'
|
||||
process:
|
||||
id:
|
||||
plugin: filter_id
|
||||
bypass: true
|
||||
source: name
|
||||
map:
|
||||
editor_caption: filter_caption
|
||||
editor_align: filter_align
|
||||
settings:
|
||||
plugin: filter_settings
|
||||
source: settings
|
||||
status:
|
||||
plugin: default_value
|
||||
default_value: true
|
||||
weight: weight
|
||||
destination:
|
||||
plugin: 'entity:filter_format'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,29 @@
|
|||
uuid: 2975f04e-9032-4aa0-931c-dac30ef9dd31
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_filter_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Drupal 7 filter settings'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- filter_fallback_format
|
||||
source_module: filter
|
||||
process:
|
||||
fallback_format:
|
||||
-
|
||||
plugin: get
|
||||
source: filter_fallback_format
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: filter.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,73 @@
|
|||
uuid: 85a6919c-d8bb-43db-abae-716e7f26261d
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_global_theme_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'D7 global theme settings'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- theme_settings
|
||||
source_module: system
|
||||
process:
|
||||
features/logo:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/toggle_logo
|
||||
features/name:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/toggle_name
|
||||
features/slogan:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/toggle_slogan
|
||||
features/node_user_picture:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/toggle_node_user_picture
|
||||
features/comment_user_picture:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/toggle_comment_user_picture
|
||||
features/comment_user_verification:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/toggle_comment_user_verification
|
||||
features/favicon:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/toggle_favicon
|
||||
logo/use_default:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/default_logo
|
||||
logo/path:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/logo_path
|
||||
favicon/use_default:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/default_favicon
|
||||
favicon/path:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/favicon_path
|
||||
favicon/mimetype:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/favicon_mimetype
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.theme.global
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,39 @@
|
|||
uuid: 701bd5d4-8d4e-4ad7-a920-351dbb5b92aa
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_image_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Image configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- allow_insecure_derivatives
|
||||
- suppress_itok_output
|
||||
- image_style_preview_image
|
||||
source_module: image
|
||||
process:
|
||||
suppress_itok_output:
|
||||
-
|
||||
plugin: get
|
||||
source: suppress_itok_output
|
||||
allow_insecure_derivatives:
|
||||
-
|
||||
plugin: get
|
||||
source: allow_insecure_derivatives
|
||||
preview_image:
|
||||
-
|
||||
plugin: get
|
||||
source: image_style_preview_image
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: image.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,37 @@
|
|||
uuid: 46735033-cdbe-4b48-b751-be1c819305a0
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_image_styles
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Image styles'
|
||||
source:
|
||||
plugin: d7_image_styles
|
||||
process:
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: label
|
||||
effects:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: effects
|
||||
process:
|
||||
id: name
|
||||
weight: weight
|
||||
data: data
|
||||
destination:
|
||||
plugin: 'entity:image_style'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,44 @@
|
|||
uuid: f8eee838-17df-4812-a6f3-16d17467a39e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_menu
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: Menus
|
||||
source:
|
||||
plugin: menu
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: menu_name
|
||||
map:
|
||||
main-menu: main
|
||||
management: admin
|
||||
navigation: tools
|
||||
user-menu: account
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
description:
|
||||
-
|
||||
plugin: get
|
||||
source: description
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: en
|
||||
destination:
|
||||
plugin: 'entity:menu'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,125 @@
|
|||
uuid: 00190851-967b-4703-a0cb-b5d9d79c97de
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_menu_links
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Menu links'
|
||||
source:
|
||||
plugin: menu_link
|
||||
constants:
|
||||
bundle: menu_link_content
|
||||
process:
|
||||
skip_translation:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
source: skip_translation
|
||||
id:
|
||||
-
|
||||
plugin: get
|
||||
source: mlid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
bundle:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/bundle
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: link_title
|
||||
description:
|
||||
-
|
||||
plugin: get
|
||||
source: description
|
||||
menu_name:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_menu
|
||||
source: menu_name
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
link/uri:
|
||||
-
|
||||
plugin: link_uri
|
||||
source: link_path
|
||||
link/options:
|
||||
-
|
||||
plugin: get
|
||||
source: options
|
||||
route:
|
||||
-
|
||||
plugin: route
|
||||
source:
|
||||
- link_path
|
||||
- options
|
||||
route_name:
|
||||
-
|
||||
plugin: get
|
||||
source: '@route/route_name'
|
||||
route_parameters:
|
||||
-
|
||||
plugin: get
|
||||
source: '@route/route_parameters'
|
||||
url:
|
||||
-
|
||||
plugin: get
|
||||
source: '@route/url'
|
||||
options:
|
||||
-
|
||||
plugin: get
|
||||
source: '@route/options'
|
||||
external:
|
||||
-
|
||||
plugin: get
|
||||
source: external
|
||||
weight:
|
||||
-
|
||||
plugin: get
|
||||
source: weight
|
||||
expanded:
|
||||
-
|
||||
plugin: get
|
||||
source: expanded
|
||||
enabled:
|
||||
-
|
||||
plugin: get
|
||||
source: enabled
|
||||
parent:
|
||||
-
|
||||
plugin: menu_link_parent
|
||||
source:
|
||||
- plid
|
||||
- '@menu_name'
|
||||
- parent_link_path
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: updated
|
||||
destination:
|
||||
plugin: 'entity:menu_link_content'
|
||||
no_stub: true
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_menu
|
||||
optional:
|
||||
- upgrade_d7_node_article
|
||||
- upgrade_d7_node_event
|
||||
- upgrade_d7_node_page
|
||||
- upgrade_d7_node_session
|
||||
- upgrade_d7_node_speaker
|
||||
- upgrade_d7_node_sponsor
|
||||
- upgrade_d7_node_swag
|
||||
- upgrade_d7_node_venue
|
||||
- upgrade_d7_menu
|
|
@ -0,0 +1,103 @@
|
|||
uuid: 20c53683-010f-4105-8af6-eb68c7e0454d
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_article
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Nodes (Article)'
|
||||
source:
|
||||
plugin: d7_node
|
||||
node_type: article
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: tnid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_article/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
body:
|
||||
-
|
||||
plugin: get
|
||||
source: body
|
||||
field_tags:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_tags
|
||||
process:
|
||||
target_id: tid
|
||||
field_image:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_image
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: article
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user
|
||||
- upgrade_d7_node_type
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,113 @@
|
|||
uuid: 252597f8-449c-4b64-8829-284016e8b4f5
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_event
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Nodes (Event)'
|
||||
source:
|
||||
plugin: d7_node
|
||||
node_type: event
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: tnid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_event/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_description:
|
||||
-
|
||||
plugin: get
|
||||
source: field_description
|
||||
field_sessions:
|
||||
-
|
||||
plugin: get
|
||||
source: field_sessions
|
||||
field_venue:
|
||||
-
|
||||
plugin: get
|
||||
source: field_venue
|
||||
field_type:
|
||||
-
|
||||
plugin: get
|
||||
source: field_type
|
||||
field_sponsors:
|
||||
-
|
||||
plugin: get
|
||||
source: field_sponsors
|
||||
field_date:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_date
|
||||
process:
|
||||
value:
|
||||
plugin: format_date
|
||||
from_format: 'Y-m-d H:i:s'
|
||||
to_format: Y-m-d
|
||||
source: value
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: event
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user
|
||||
- upgrade_d7_node_type
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,87 @@
|
|||
uuid: b6b19977-fc79-4bb7-a3d9-a5fc5e07575e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_page
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Nodes (Basic page)'
|
||||
source:
|
||||
plugin: d7_node
|
||||
node_type: page
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: tnid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_page/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
body:
|
||||
-
|
||||
plugin: get
|
||||
source: body
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: page
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user
|
||||
- upgrade_d7_node_type
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,108 @@
|
|||
uuid: 916822d6-65fd-41ff-8991-3db570c4b730
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_revision_article
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node revisions (Article)'
|
||||
source:
|
||||
plugin: d7_node_revision
|
||||
node_type: article
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: nid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_article/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
body:
|
||||
-
|
||||
plugin: get
|
||||
source: body
|
||||
field_tags:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_tags
|
||||
process:
|
||||
target_id: tid
|
||||
field_image:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_image
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: article
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_node_article
|
||||
- upgrade_d7_node_event
|
||||
- upgrade_d7_node_page
|
||||
- upgrade_d7_node_session
|
||||
- upgrade_d7_node_speaker
|
||||
- upgrade_d7_node_sponsor
|
||||
- upgrade_d7_node_swag
|
||||
- upgrade_d7_node_venue
|
||||
optional: { }
|
|
@ -0,0 +1,118 @@
|
|||
uuid: 6108b6a0-d144-407c-aac3-511610ebd156
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_revision_event
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node revisions (Event)'
|
||||
source:
|
||||
plugin: d7_node_revision
|
||||
node_type: event
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: nid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_event/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_description:
|
||||
-
|
||||
plugin: get
|
||||
source: field_description
|
||||
field_sessions:
|
||||
-
|
||||
plugin: get
|
||||
source: field_sessions
|
||||
field_venue:
|
||||
-
|
||||
plugin: get
|
||||
source: field_venue
|
||||
field_type:
|
||||
-
|
||||
plugin: get
|
||||
source: field_type
|
||||
field_sponsors:
|
||||
-
|
||||
plugin: get
|
||||
source: field_sponsors
|
||||
field_date:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_date
|
||||
process:
|
||||
value:
|
||||
plugin: format_date
|
||||
from_format: 'Y-m-d H:i:s'
|
||||
to_format: Y-m-d
|
||||
source: value
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: event
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_node_article
|
||||
- upgrade_d7_node_event
|
||||
- upgrade_d7_node_page
|
||||
- upgrade_d7_node_session
|
||||
- upgrade_d7_node_speaker
|
||||
- upgrade_d7_node_sponsor
|
||||
- upgrade_d7_node_swag
|
||||
- upgrade_d7_node_venue
|
||||
optional: { }
|
|
@ -0,0 +1,92 @@
|
|||
uuid: 97caa07f-3d0d-4635-af1f-0d054b97e8c5
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_revision_page
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node revisions (Basic page)'
|
||||
source:
|
||||
plugin: d7_node_revision
|
||||
node_type: page
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: nid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_page/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
body:
|
||||
-
|
||||
plugin: get
|
||||
source: body
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: page
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_node_article
|
||||
- upgrade_d7_node_event
|
||||
- upgrade_d7_node_page
|
||||
- upgrade_d7_node_session
|
||||
- upgrade_d7_node_speaker
|
||||
- upgrade_d7_node_sponsor
|
||||
- upgrade_d7_node_swag
|
||||
- upgrade_d7_node_venue
|
||||
optional: { }
|
|
@ -0,0 +1,114 @@
|
|||
uuid: 160ea61b-038a-4b00-8b88-6ddc90e21b64
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_revision_session
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node revisions (Session)'
|
||||
source:
|
||||
plugin: d7_node_revision
|
||||
node_type: session
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: nid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_session/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_speakers:
|
||||
-
|
||||
plugin: get
|
||||
source: field_speakers
|
||||
field_description:
|
||||
-
|
||||
plugin: get
|
||||
source: field_description
|
||||
field_video_recording:
|
||||
-
|
||||
plugin: get
|
||||
source: field_video_recording
|
||||
field_slides:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_slides
|
||||
process:
|
||||
target_id: fid
|
||||
display: display
|
||||
description: description
|
||||
field_topics:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_topics
|
||||
process:
|
||||
target_id: tid
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: session
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_node_article
|
||||
- upgrade_d7_node_event
|
||||
- upgrade_d7_node_page
|
||||
- upgrade_d7_node_session
|
||||
- upgrade_d7_node_speaker
|
||||
- upgrade_d7_node_sponsor
|
||||
- upgrade_d7_node_swag
|
||||
- upgrade_d7_node_venue
|
||||
optional: { }
|
|
@ -0,0 +1,155 @@
|
|||
uuid: 662f92e7-2adb-4586-aa13-b501717c1e11
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_revision_speaker
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node revisions (Speaker)'
|
||||
source:
|
||||
plugin: d7_node_revision
|
||||
node_type: speaker
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: nid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_speaker/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_biography:
|
||||
-
|
||||
plugin: get
|
||||
source: field_biography
|
||||
field_email:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_email
|
||||
process:
|
||||
value: email
|
||||
field_linkedin_profile:
|
||||
-
|
||||
plugin: get
|
||||
source: field_linkedin_profile
|
||||
field_website:
|
||||
-
|
||||
plugin: get
|
||||
source: field_website
|
||||
field_x_twitter_profile:
|
||||
-
|
||||
plugin: get
|
||||
source: field_x_twitter_profile
|
||||
field_drupal_org_profile:
|
||||
-
|
||||
plugin: get
|
||||
source: field_drupal_org_profile
|
||||
field_profile_picture:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_profile_picture
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
field_favorite_quote:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_favorite_quote
|
||||
process:
|
||||
target_id:
|
||||
-
|
||||
plugin: paragraphs_lookup
|
||||
tags: 'Field Collection Content'
|
||||
source: value
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- id
|
||||
target_revision_id:
|
||||
-
|
||||
plugin: paragraphs_lookup
|
||||
tags:
|
||||
- 'Field Collection Revisions Content'
|
||||
- 'Field Collection Content'
|
||||
tag_ids:
|
||||
'Field Collection Revisions Content':
|
||||
- revision_id
|
||||
'Field Collection Content':
|
||||
- value
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- revision_id
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: speaker
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_node_article
|
||||
- upgrade_d7_node_event
|
||||
- upgrade_d7_node_page
|
||||
- upgrade_d7_node_session
|
||||
- upgrade_d7_node_speaker
|
||||
- upgrade_d7_node_sponsor
|
||||
- upgrade_d7_node_swag
|
||||
- upgrade_d7_node_venue
|
||||
- upgrade_d7_field_collection_favorite_quote
|
||||
- upgrade_d7_field_collection_revisions_favorite_quote
|
||||
optional: { }
|
|
@ -0,0 +1,102 @@
|
|||
uuid: a82fdd55-3e93-49f0-8cdf-4699866867c8
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_revision_sponsor
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node revisions (Sponsor)'
|
||||
source:
|
||||
plugin: d7_node_revision
|
||||
node_type: sponsor
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: nid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_sponsor/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_logo:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_logo
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
field_description:
|
||||
-
|
||||
plugin: get
|
||||
source: field_description
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: sponsor
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_node_article
|
||||
- upgrade_d7_node_event
|
||||
- upgrade_d7_node_page
|
||||
- upgrade_d7_node_session
|
||||
- upgrade_d7_node_speaker
|
||||
- upgrade_d7_node_sponsor
|
||||
- upgrade_d7_node_swag
|
||||
- upgrade_d7_node_venue
|
||||
optional: { }
|
|
@ -0,0 +1,106 @@
|
|||
uuid: 816c2f3a-7094-46fc-84f8-acddcab88371
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_revision_swag
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node revisions (Swag)'
|
||||
source:
|
||||
plugin: d7_node_revision
|
||||
node_type: swag
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: nid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_swag/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_image:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_image
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
field_description:
|
||||
-
|
||||
plugin: get
|
||||
source: field_description
|
||||
field_price:
|
||||
-
|
||||
plugin: get
|
||||
source: field_price
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: swag
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_node_article
|
||||
- upgrade_d7_node_event
|
||||
- upgrade_d7_node_page
|
||||
- upgrade_d7_node_session
|
||||
- upgrade_d7_node_speaker
|
||||
- upgrade_d7_node_sponsor
|
||||
- upgrade_d7_node_swag
|
||||
- upgrade_d7_node_venue
|
||||
optional: { }
|
|
@ -0,0 +1,110 @@
|
|||
uuid: 32e3442e-4ab5-412a-90d1-f99a96d04b09
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_revision_venue
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node revisions (Venue)'
|
||||
source:
|
||||
plugin: d7_node_revision
|
||||
node_type: venue
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: nid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_venue/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_address:
|
||||
-
|
||||
plugin: addressfield
|
||||
source: field_address
|
||||
field_image:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_image
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
field_phone:
|
||||
-
|
||||
plugin: get
|
||||
source: field_phone
|
||||
field_additional_information:
|
||||
-
|
||||
plugin: get
|
||||
source: field_additional_information
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: venue
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_node_article
|
||||
- upgrade_d7_node_event
|
||||
- upgrade_d7_node_page
|
||||
- upgrade_d7_node_session
|
||||
- upgrade_d7_node_speaker
|
||||
- upgrade_d7_node_sponsor
|
||||
- upgrade_d7_node_swag
|
||||
- upgrade_d7_node_venue
|
||||
optional: { }
|
|
@ -0,0 +1,109 @@
|
|||
uuid: c10fe96c-4d36-42f4-9f14-9bf9becdd1ef
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_session
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Nodes (Session)'
|
||||
source:
|
||||
plugin: d7_node
|
||||
node_type: session
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: tnid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_session/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_speakers:
|
||||
-
|
||||
plugin: get
|
||||
source: field_speakers
|
||||
field_description:
|
||||
-
|
||||
plugin: get
|
||||
source: field_description
|
||||
field_video_recording:
|
||||
-
|
||||
plugin: get
|
||||
source: field_video_recording
|
||||
field_slides:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_slides
|
||||
process:
|
||||
target_id: fid
|
||||
display: display
|
||||
description: description
|
||||
field_topics:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_topics
|
||||
process:
|
||||
target_id: tid
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: session
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user
|
||||
- upgrade_d7_node_type
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,29 @@
|
|||
uuid: 45fc88b7-9298-47dd-88e5-61a0d67ef01d
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- node_admin_theme
|
||||
source_module: node
|
||||
process:
|
||||
use_admin_theme:
|
||||
-
|
||||
plugin: get
|
||||
source: node_admin_theme
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: node.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,149 @@
|
|||
uuid: 4c720324-2bbe-41fd-8573-07a84ac85e3c
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_speaker
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Nodes (Speaker)'
|
||||
source:
|
||||
plugin: d7_node
|
||||
node_type: speaker
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: tnid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_speaker/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_biography:
|
||||
-
|
||||
plugin: get
|
||||
source: field_biography
|
||||
field_email:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_email
|
||||
process:
|
||||
value: email
|
||||
field_linkedin_profile:
|
||||
-
|
||||
plugin: get
|
||||
source: field_linkedin_profile
|
||||
field_website:
|
||||
-
|
||||
plugin: get
|
||||
source: field_website
|
||||
field_x_twitter_profile:
|
||||
-
|
||||
plugin: get
|
||||
source: field_x_twitter_profile
|
||||
field_drupal_org_profile:
|
||||
-
|
||||
plugin: get
|
||||
source: field_drupal_org_profile
|
||||
field_profile_picture:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_profile_picture
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
field_favorite_quote:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_favorite_quote
|
||||
process:
|
||||
target_id:
|
||||
-
|
||||
plugin: paragraphs_lookup
|
||||
tags: 'Field Collection Content'
|
||||
source: value
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- id
|
||||
target_revision_id:
|
||||
-
|
||||
plugin: paragraphs_lookup
|
||||
tags:
|
||||
- 'Field Collection Revisions Content'
|
||||
- 'Field Collection Content'
|
||||
tag_ids:
|
||||
'Field Collection Revisions Content':
|
||||
- revision_id
|
||||
'Field Collection Content':
|
||||
- value
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- revision_id
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: speaker
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user
|
||||
- upgrade_d7_node_type
|
||||
- upgrade_d7_field_collection_favorite_quote
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,97 @@
|
|||
uuid: aa4bf1b3-6ebc-4593-90b8-ed2f549c87c4
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_sponsor
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Nodes (Sponsor)'
|
||||
source:
|
||||
plugin: d7_node
|
||||
node_type: sponsor
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: tnid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_sponsor/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_logo:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_logo
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
field_description:
|
||||
-
|
||||
plugin: get
|
||||
source: field_description
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: sponsor
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user
|
||||
- upgrade_d7_node_type
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,101 @@
|
|||
uuid: cb975b55-fd90-413c-b393-102590898e21
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_swag
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Nodes (Swag)'
|
||||
source:
|
||||
plugin: d7_node
|
||||
node_type: swag
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: tnid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_swag/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_image:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_image
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
field_description:
|
||||
-
|
||||
plugin: get
|
||||
source: field_description
|
||||
field_price:
|
||||
-
|
||||
plugin: get
|
||||
source: field_price
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: swag
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user
|
||||
- upgrade_d7_node_type
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,54 @@
|
|||
uuid: bd82e607-d0d8-46b6-b741-5f8fa8628469
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_title_label
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node title label'
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
entity_type: node
|
||||
field_name: title
|
||||
process:
|
||||
label:
|
||||
-
|
||||
plugin: static_map
|
||||
source: title_label
|
||||
bypass: true
|
||||
map:
|
||||
Title: 0
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
entity_type:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/entity_type
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
field_collection_item: paragraph
|
||||
paragraphs_item: paragraph
|
||||
bypass: true
|
||||
bundle:
|
||||
-
|
||||
plugin: get
|
||||
source: type
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/field_name
|
||||
destination:
|
||||
plugin: 'entity:base_field_override'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_node_type
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,83 @@
|
|||
uuid: a3367374-077c-460d-89e6-7e1abbe94e77
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_type
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Node type configuration'
|
||||
source:
|
||||
plugin: d7_node_type
|
||||
constants:
|
||||
preview: 1
|
||||
process:
|
||||
type:
|
||||
-
|
||||
plugin: get
|
||||
source: type
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
description:
|
||||
-
|
||||
plugin: get
|
||||
source: description
|
||||
help:
|
||||
-
|
||||
plugin: get
|
||||
source: help
|
||||
title_label:
|
||||
-
|
||||
plugin: get
|
||||
source: title_label
|
||||
preview_mode:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/preview
|
||||
display_submitted:
|
||||
-
|
||||
plugin: get
|
||||
source: display_submitted
|
||||
new_revision:
|
||||
-
|
||||
plugin: get
|
||||
source: options/revision
|
||||
create_body:
|
||||
-
|
||||
plugin: get
|
||||
source: create_body
|
||||
create_body_label:
|
||||
-
|
||||
plugin: get
|
||||
source: body_label
|
||||
third_party_settings/menu_ui/available_menus:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: available_menus
|
||||
map:
|
||||
main-menu: main
|
||||
management: admin
|
||||
navigation: tools
|
||||
user-menu: account
|
||||
third_party_settings/menu_ui/parent:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: parent
|
||||
map:
|
||||
'main-menu:0:': 'main:'
|
||||
'management:0:': 'admin:'
|
||||
'navigation:0:': 'tools:'
|
||||
'user-menu:0:': 'account:'
|
||||
destination:
|
||||
plugin: 'entity:node_type'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,105 @@
|
|||
uuid: 84fd76b6-667f-4d0e-9576-6d36633c5ba1
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_node_venue
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Nodes (Venue)'
|
||||
source:
|
||||
plugin: d7_node
|
||||
node_type: venue
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: get
|
||||
source: tnid
|
||||
vid:
|
||||
-
|
||||
plugin: get
|
||||
source: vid
|
||||
langcode:
|
||||
-
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: node_uid
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: changed
|
||||
promote:
|
||||
-
|
||||
plugin: get
|
||||
source: promote
|
||||
sticky:
|
||||
-
|
||||
plugin: get
|
||||
source: sticky
|
||||
revision_uid:
|
||||
-
|
||||
plugin: get
|
||||
source: revision_uid
|
||||
revision_log:
|
||||
-
|
||||
plugin: get
|
||||
source: log
|
||||
revision_timestamp:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
comment_node_venue/0/status:
|
||||
-
|
||||
plugin: get
|
||||
source: comment
|
||||
field_address:
|
||||
-
|
||||
plugin: addressfield
|
||||
source: field_address
|
||||
field_image:
|
||||
-
|
||||
plugin: sub_process
|
||||
source: field_image
|
||||
process:
|
||||
target_id: fid
|
||||
alt: alt
|
||||
title: title
|
||||
width: width
|
||||
height: height
|
||||
field_phone:
|
||||
-
|
||||
plugin: get
|
||||
source: field_phone
|
||||
field_additional_information:
|
||||
-
|
||||
plugin: get
|
||||
source: field_additional_information
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: venue
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user
|
||||
- upgrade_d7_node_type
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
|
@ -0,0 +1,53 @@
|
|||
uuid: 5bae0648-ac02-4587-ad3a-1aee49a9b2b6
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_pathauto_patterns
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Pathauto patterns'
|
||||
source:
|
||||
plugin: pathauto_pattern
|
||||
constants:
|
||||
status: true
|
||||
selection_logic: and
|
||||
process:
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/status
|
||||
id:
|
||||
-
|
||||
plugin: get
|
||||
source: id
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: label
|
||||
type:
|
||||
-
|
||||
plugin: get
|
||||
source: type
|
||||
pattern:
|
||||
-
|
||||
plugin: get
|
||||
source: pattern
|
||||
selection_criteria:
|
||||
-
|
||||
plugin: get
|
||||
source: selection_criteria
|
||||
selection_logic:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/selection_logic
|
||||
destination:
|
||||
plugin: 'entity:pathauto_pattern'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional:
|
||||
- upgrade_d7_node_type
|
|
@ -0,0 +1,229 @@
|
|||
uuid: 6cc38798-f5e0-45fc-a826-36c05ba576e3
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_pathauto_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Pathauto configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- pathauto_punctuation_ampersand
|
||||
- pathauto_punctuation_asterisk
|
||||
- pathauto_punctuation_at
|
||||
- pathauto_punctuation_backtick
|
||||
- pathauto_punctuation_back_slash
|
||||
- pathauto_punctuation_caret
|
||||
- pathauto_punctuation_colon
|
||||
- pathauto_punctuation_comma
|
||||
- pathauto_punctuation_dollar
|
||||
- pathauto_punctuation_double_quotes
|
||||
- pathauto_punctuation_equal
|
||||
- pathauto_punctuation_exclamation
|
||||
- pathauto_punctuation_greater_than
|
||||
- pathauto_punctuation_hash
|
||||
- pathauto_punctuation_hyphen
|
||||
- pathauto_punctuation_left_curly
|
||||
- pathauto_punctuation_left_parenthesis
|
||||
- pathauto_punctuation_left_square
|
||||
- pathauto_punctuation_less_than
|
||||
- pathauto_punctuation_percent
|
||||
- pathauto_punctuation_period
|
||||
- pathauto_punctuation_pipe
|
||||
- pathauto_punctuation_plus
|
||||
- pathauto_punctuation_question_mark
|
||||
- pathauto_punctuation_quotes
|
||||
- pathauto_punctuation_right_curly
|
||||
- pathauto_punctuation_right_parenthesis
|
||||
- pathauto_punctuation_right_square
|
||||
- pathauto_punctuation_semicolon
|
||||
- pathauto_punctuation_slash
|
||||
- pathauto_punctuation_tilde
|
||||
- pathauto_punctuation_underscore
|
||||
- pathauto_verbose
|
||||
- pathauto_separator
|
||||
- pathauto_max_length
|
||||
- pathauto_max_component_length
|
||||
- pathauto_transliterate
|
||||
- pathauto_reduce_ascii
|
||||
- pathauto_ignore_words
|
||||
- pathauto_case
|
||||
- pathauto_update_action
|
||||
source_module: pathauto
|
||||
process:
|
||||
punctuation/ampersand:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_ampersand
|
||||
punctuation/asterisk:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_asterisk
|
||||
punctuation/at:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_at
|
||||
punctuation/backtick:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_backtick
|
||||
punctuation/back_slash:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_back_slash
|
||||
punctuation/caret:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_caret
|
||||
punctuation/colon:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_colon
|
||||
punctuation/comma:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_comma
|
||||
punctuation/dollar:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_dollar
|
||||
punctuation/double_quotes:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_double_quotes
|
||||
punctuation/equal:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_equal
|
||||
punctuation/exclamation:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_exclamation
|
||||
punctuation/greater_than:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_greater_than
|
||||
punctuation/hash:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_hash
|
||||
punctuation/hyphen:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_hyphen
|
||||
punctuation/left_curly:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_left_curly
|
||||
punctuation/left_parenthesis:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_left_parenthesis
|
||||
punctuation/left_square:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_left_square
|
||||
punctuation/less_than:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_less_than
|
||||
punctuation/percent:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_percent
|
||||
punctuation/period:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_period
|
||||
punctuation/pipe:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_pipe
|
||||
punctuation/plus:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_plus
|
||||
punctuation/question_mark:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_question_mark
|
||||
punctuation/quotes:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_quotes
|
||||
punctuation/right_curly:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_right_curly
|
||||
punctuation/right_parenthesis:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_right_parenthesis
|
||||
punctuation/right_square:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_right_square
|
||||
punctuation/semicolon:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_semicolon
|
||||
punctuation/slash:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_slash
|
||||
punctuation/tilde:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_tilde
|
||||
punctuation/underscore:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_punctuation_underscore
|
||||
verbose:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_verbose
|
||||
separator:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_separator
|
||||
max_length:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_max_length
|
||||
max_component_length:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_max_component_length
|
||||
transliterate:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_transliterate
|
||||
reduce_ascii:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_reduce_ascii
|
||||
ignore_words:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_ignore_words
|
||||
case:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_case
|
||||
update_action:
|
||||
-
|
||||
plugin: get
|
||||
source: pathauto_update_action
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: pathauto.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,44 @@
|
|||
uuid: d2541350-c6fd-4b63-a4c8-da48f8486383
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_shortcut
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Shortcut links'
|
||||
source:
|
||||
plugin: d7_shortcut
|
||||
constants:
|
||||
uri_scheme: 'internal:/'
|
||||
process:
|
||||
shortcut_set:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_shortcut_set
|
||||
source: menu_name
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: link_title
|
||||
weight:
|
||||
-
|
||||
plugin: get
|
||||
source: weight
|
||||
link:
|
||||
-
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/uri_scheme
|
||||
- link_path
|
||||
destination:
|
||||
plugin: 'entity:shortcut'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_shortcut_set
|
||||
optional:
|
||||
- upgrade_d7_shortcut_set
|
|
@ -0,0 +1,36 @@
|
|||
uuid: c11c1680-7dc9-49e2-96f3-099ff44d7067
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_shortcut_set
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Shortcut sets'
|
||||
source:
|
||||
plugin: d7_shortcut_set
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: set_name
|
||||
map:
|
||||
shortcut-set-1: default
|
||||
-
|
||||
plugin: machine_name
|
||||
field: id
|
||||
replace_pattern: '/[^a-z0-9-]+/'
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
destination:
|
||||
plugin: 'entity:shortcut_set'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,38 @@
|
|||
uuid: 1dc47acf-c322-4956-8e51-3b45f5474cee
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_shortcut_set_users
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Shortcut set user mapping'
|
||||
source:
|
||||
plugin: d7_shortcut_set_users
|
||||
process:
|
||||
uid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_user
|
||||
source: uid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
set_name:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_shortcut_set
|
||||
source: set_name
|
||||
destination:
|
||||
plugin: shortcut_set_users
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_shortcut_set
|
||||
- upgrade_d7_user
|
||||
optional:
|
||||
- upgrade_d7_user
|
||||
- upgrade_d7_shortcut_set
|
|
@ -0,0 +1,31 @@
|
|||
uuid: 6a73b30a-5e28-41c7-b108-6a425b17e6ad
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_system_authorize
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Drupal 7 file transfer authorize configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- authorize_filetransfer_default
|
||||
source_module: system
|
||||
process:
|
||||
filetransfer_default:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
source: empty
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: null
|
||||
destination_module: system
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,34 @@
|
|||
uuid: cc2c8c90-ed85-410d-95a5-4c3e54e82232
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_system_cron
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Drupal 7 cron settings'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- cron_threshold_warning
|
||||
- cron_threshold_error
|
||||
source_module: system
|
||||
process:
|
||||
threshold/requirements_warning:
|
||||
-
|
||||
plugin: get
|
||||
source: cron_threshold_warning
|
||||
threshold/requirements_error:
|
||||
-
|
||||
plugin: get
|
||||
source: cron_threshold_error
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.cron
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,54 @@
|
|||
uuid: 6783ab7a-bae4-430e-815d-4417a5766215
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_system_date
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Drupal 7 system date configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- site_default_country
|
||||
- date_first_day
|
||||
- date_default_timezone
|
||||
- configurable_timezones
|
||||
- empty_timezone_message
|
||||
- user_default_timezone
|
||||
source_module: system
|
||||
process:
|
||||
country/default:
|
||||
-
|
||||
plugin: get
|
||||
source: site_default_country
|
||||
first_day:
|
||||
-
|
||||
plugin: get
|
||||
source: date_first_day
|
||||
timezone/default:
|
||||
-
|
||||
plugin: get
|
||||
source: date_default_timezone
|
||||
timezone/user/configurable:
|
||||
-
|
||||
plugin: get
|
||||
source: configurable_timezones
|
||||
timezone/user/warn:
|
||||
-
|
||||
plugin: get
|
||||
source: empty_timezone_message
|
||||
timezone/user/default:
|
||||
-
|
||||
plugin: get
|
||||
source: user_default_timezone
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.date
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,32 @@
|
|||
uuid: 9269355e-ab68-4bd3-a3e4-a331c59e8a06
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_system_file
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Drupal 7 file system configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- allow_insecure_uploads
|
||||
source_module: system
|
||||
process:
|
||||
allow_insecure_uploads:
|
||||
-
|
||||
plugin: static_map
|
||||
source: allow_insecure_uploads
|
||||
map:
|
||||
- false
|
||||
- true
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.file
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,51 @@
|
|||
uuid: 82827271-54db-4f00-9abd-c241d5660742
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_system_mail
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Drupal 7 system mail configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables_no_row_if_missing:
|
||||
- mail_system
|
||||
source_module: system
|
||||
process:
|
||||
interface/default:
|
||||
-
|
||||
plugin: static_map
|
||||
source: mail_system/default-system
|
||||
map:
|
||||
DefaultMailSystem: php_mail
|
||||
MailTestCase: test_mail_collector
|
||||
mailer_dsn:
|
||||
-
|
||||
plugin: static_map
|
||||
source: mail_system/default-system
|
||||
map:
|
||||
DefaultMailSystem:
|
||||
scheme: sendmail
|
||||
host: default
|
||||
user: null
|
||||
password: null
|
||||
port: null
|
||||
options: { }
|
||||
MailTestCase:
|
||||
scheme: 'null'
|
||||
host: 'null'
|
||||
user: null
|
||||
password: null
|
||||
port: null
|
||||
options: { }
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.mail
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,40 @@
|
|||
uuid: 8bce40bc-ddf1-4d58-9b7b-28829d1aab98
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_system_performance
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Drupal 7 performance configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- preprocess_css
|
||||
- preprocess_js
|
||||
- cache_lifetime
|
||||
- page_compression
|
||||
source_module: system
|
||||
process:
|
||||
css/preprocess:
|
||||
-
|
||||
plugin: get
|
||||
source: preprocess_css
|
||||
js/preprocess:
|
||||
-
|
||||
plugin: get
|
||||
source: preprocess_js
|
||||
cache/page/max_age:
|
||||
-
|
||||
plugin: get
|
||||
source: cache_lifetime
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.performance
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,78 @@
|
|||
uuid: cae873b1-70c6-4843-901d-9e2f0077e73a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_taxonomy_term_session_topics
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Taxonomy terms (Session topics)'
|
||||
source:
|
||||
plugin: d7_taxonomy_term
|
||||
bundle: session_topics
|
||||
process:
|
||||
tid:
|
||||
-
|
||||
plugin: get
|
||||
source: tid
|
||||
revision_id:
|
||||
-
|
||||
plugin: get
|
||||
source: tid
|
||||
vid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_taxonomy_vocabulary
|
||||
source: vid
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
description/value:
|
||||
-
|
||||
plugin: get
|
||||
source: description
|
||||
description/format:
|
||||
-
|
||||
plugin: get
|
||||
source: format
|
||||
weight:
|
||||
-
|
||||
plugin: get
|
||||
source: weight
|
||||
parent_id:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: parent
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d7_taxonomy_term_tags
|
||||
- upgrade_d7_taxonomy_term_session_topics
|
||||
parent:
|
||||
-
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
source: '@parent_id'
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
langcode:
|
||||
-
|
||||
plugin: get
|
||||
source: language
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
default_bundle: session_topics
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_taxonomy_vocabulary
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
||||
- upgrade_d7_taxonomy_vocabulary
|
|
@ -0,0 +1,78 @@
|
|||
uuid: 0610670f-d2eb-40a0-a5b2-4ba51f750902
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_taxonomy_term_tags
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Taxonomy terms (Article Tags)'
|
||||
source:
|
||||
plugin: d7_taxonomy_term
|
||||
bundle: tags
|
||||
process:
|
||||
tid:
|
||||
-
|
||||
plugin: get
|
||||
source: tid
|
||||
revision_id:
|
||||
-
|
||||
plugin: get
|
||||
source: tid
|
||||
vid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_taxonomy_vocabulary
|
||||
source: vid
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
description/value:
|
||||
-
|
||||
plugin: get
|
||||
source: description
|
||||
description/format:
|
||||
-
|
||||
plugin: get
|
||||
source: format
|
||||
weight:
|
||||
-
|
||||
plugin: get
|
||||
source: weight
|
||||
parent_id:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: parent
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d7_taxonomy_term_tags
|
||||
- upgrade_d7_taxonomy_term_session_topics
|
||||
parent:
|
||||
-
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
source: '@parent_id'
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
langcode:
|
||||
-
|
||||
plugin: get
|
||||
source: language
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
default_bundle: tags
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_taxonomy_vocabulary
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
||||
- upgrade_d7_taxonomy_vocabulary
|
|
@ -0,0 +1,45 @@
|
|||
uuid: f39226da-7e91-430c-91ca-438aa6005c66
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_taxonomy_vocabulary
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Taxonomy vocabularies'
|
||||
source:
|
||||
plugin: d7_taxonomy_vocabulary
|
||||
process:
|
||||
vid:
|
||||
-
|
||||
plugin: make_unique_entity_field
|
||||
source: machine_name
|
||||
entity_type: taxonomy_vocabulary
|
||||
field: vid
|
||||
length: 30
|
||||
migrated: true
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
description:
|
||||
-
|
||||
plugin: get
|
||||
source: description
|
||||
weight:
|
||||
-
|
||||
plugin: get
|
||||
source: weight
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_vocabulary'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,98 @@
|
|||
uuid: 4c6cf3ec-1de0-4ee2-969a-b906c4dc65cd
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_theme_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'D7 theme settings'
|
||||
source:
|
||||
plugin: d7_theme_settings
|
||||
constants:
|
||||
config_suffix: .settings
|
||||
process:
|
||||
legacy_theme_name:
|
||||
-
|
||||
plugin: explode
|
||||
source: name
|
||||
delimiter: _
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
theme_name:
|
||||
-
|
||||
plugin: static_map
|
||||
source: '@legacy_theme_name'
|
||||
bypass: true
|
||||
map:
|
||||
bartik: olivero
|
||||
seven: claro
|
||||
configuration_name:
|
||||
-
|
||||
plugin: concat
|
||||
source:
|
||||
- '@theme_name'
|
||||
- constants/config_suffix
|
||||
toggle_logo:
|
||||
-
|
||||
plugin: get
|
||||
source: theme_settings/toggle_logo
|
||||
toggle_name:
|
||||
-
|
||||
plugin: get
|
||||
source: value/toggle_name
|
||||
toggle_slogan:
|
||||
-
|
||||
plugin: get
|
||||
source: value/toggle_slogan
|
||||
toggle_node_user_picture:
|
||||
-
|
||||
plugin: get
|
||||
source: value/toggle_node_user_picture
|
||||
toggle_comment_user_picture:
|
||||
-
|
||||
plugin: get
|
||||
source: value/toggle_comment_user_picture
|
||||
toggle_comment_user_verification:
|
||||
-
|
||||
plugin: get
|
||||
source: value/toggle_comment_user_verification
|
||||
toggle_favicon:
|
||||
-
|
||||
plugin: get
|
||||
source: value/toggle_favicon
|
||||
default_logo:
|
||||
-
|
||||
plugin: get
|
||||
source: value/default_logo
|
||||
logo_path:
|
||||
-
|
||||
plugin: get
|
||||
source: value/logo_path
|
||||
logo_upload:
|
||||
-
|
||||
plugin: get
|
||||
source: value/logo_upload
|
||||
default_favicon:
|
||||
-
|
||||
plugin: get
|
||||
source: value/default_favicon
|
||||
favicon_path:
|
||||
-
|
||||
plugin: get
|
||||
source: value/favicon_path
|
||||
favicon_mimetype:
|
||||
-
|
||||
plugin: get
|
||||
source: value/favicon_mimetype
|
||||
destination:
|
||||
plugin: d7_theme_settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,66 @@
|
|||
uuid: 9ba1ac7c-6311-4d49-a274-2b292464f2dd
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_url_alias
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'URL aliases'
|
||||
source:
|
||||
plugin: d7_url_alias
|
||||
constants:
|
||||
slash: /
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: get
|
||||
source: pid
|
||||
_path:
|
||||
-
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- source
|
||||
alias:
|
||||
-
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- alias
|
||||
node_translation:
|
||||
-
|
||||
plugin: explode
|
||||
source: source
|
||||
delimiter: /
|
||||
-
|
||||
plugin: extract
|
||||
default: INVALID_NID
|
||||
index:
|
||||
- 1
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: { }
|
||||
-
|
||||
plugin: node_complete_node_translation_lookup
|
||||
langcode:
|
||||
-
|
||||
plugin: null_coalesce
|
||||
source:
|
||||
- '@node_translation/1'
|
||||
- language
|
||||
path:
|
||||
-
|
||||
plugin: path_set_translated
|
||||
source:
|
||||
- '@_path'
|
||||
- '@node_translation'
|
||||
destination:
|
||||
plugin: 'entity:path_alias'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,96 @@
|
|||
uuid: 0d03a681-dd7c-46f6-a9d9-0fc82b8525d2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_user
|
||||
class: Drupal\user\Plugin\migrate\User
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User accounts'
|
||||
source:
|
||||
plugin: d7_user
|
||||
process:
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: uid
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
pass:
|
||||
-
|
||||
plugin: get
|
||||
source: pass
|
||||
mail:
|
||||
-
|
||||
plugin: get
|
||||
source: mail
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
access:
|
||||
-
|
||||
plugin: get
|
||||
source: access
|
||||
login:
|
||||
-
|
||||
plugin: get
|
||||
source: login
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
timezone:
|
||||
-
|
||||
plugin: get
|
||||
source: timezone
|
||||
langcode:
|
||||
-
|
||||
plugin: user_langcode
|
||||
source: entity_language
|
||||
fallback_to_site_default: false
|
||||
preferred_langcode:
|
||||
-
|
||||
plugin: user_langcode
|
||||
source: language
|
||||
fallback_to_site_default: true
|
||||
preferred_admin_langcode:
|
||||
-
|
||||
plugin: user_langcode
|
||||
source: language
|
||||
fallback_to_site_default: true
|
||||
init:
|
||||
-
|
||||
plugin: get
|
||||
source: init
|
||||
roles:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_user_role
|
||||
source: roles
|
||||
user_picture:
|
||||
-
|
||||
plugin: default_value
|
||||
source: picture
|
||||
default_value: null
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_file
|
||||
destination:
|
||||
plugin: 'entity:user'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user_role
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
||||
- upgrade_d7_file
|
||||
- upgrade_user_picture_field_instance
|
||||
- upgrade_user_picture_entity_display
|
||||
- upgrade_user_picture_entity_form_display
|
||||
- upgrade_d7_user_role
|
|
@ -0,0 +1,49 @@
|
|||
uuid: 42d13c71-6152-427c-8f14-fccb95b22c72
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_user_flood
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User flood configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- user_failed_login_identifier_uid_only
|
||||
- user_failed_login_ip_limit
|
||||
- user_failed_login_ip_window
|
||||
- user_failed_login_user_window
|
||||
- user_failed_login_user_limit
|
||||
source_module: user
|
||||
process:
|
||||
uid_only:
|
||||
-
|
||||
plugin: get
|
||||
source: user_failed_login_identifier_uid_only
|
||||
ip_limit:
|
||||
-
|
||||
plugin: get
|
||||
source: user_failed_login_ip_limit
|
||||
ip_window:
|
||||
-
|
||||
plugin: get
|
||||
source: user_failed_login_ip_window
|
||||
user_limit:
|
||||
-
|
||||
plugin: get
|
||||
source: user_failed_login_user_limit
|
||||
user_window:
|
||||
-
|
||||
plugin: get
|
||||
source: user_failed_login_user_window
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: user.flood
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,94 @@
|
|||
uuid: 3bb841d9-8d8f-4181-9d9f-4f38baa381d1
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_user_mail
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User mail configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- user_mail_status_activated_subject
|
||||
- user_mail_status_activated_body
|
||||
- user_mail_password_reset_subject
|
||||
- user_mail_password_reset_body
|
||||
- user_mail_status_canceled_subject
|
||||
- user_mail_status_canceled_body
|
||||
- user_mail_register_admin_created_subject
|
||||
- user_mail_register_admin_created_body
|
||||
- user_mail_register_no_approval_required_subject
|
||||
- user_mail_register_no_approval_required_body
|
||||
- user_mail_register_pending_approval_subject
|
||||
- user_mail_register_pending_approval_body
|
||||
- user_mail_status_blocked_subject
|
||||
- user_mail_status_blocked_body
|
||||
source_module: user
|
||||
process:
|
||||
status_activated/subject:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_status_activated_subject
|
||||
status_activated/body:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_status_activated_body
|
||||
password_reset/subject:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_password_reset_subject
|
||||
password_reset/body:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_password_reset_body
|
||||
cancel_confirm/subject:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_status_canceled_subject
|
||||
cancel_confirm/body:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_status_canceled_body
|
||||
register_admin_created/subject:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_register_admin_created_subject
|
||||
register_admin_created/body:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_register_admin_created_body
|
||||
register_no_approval_required/subject:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_register_no_approval_required_subject
|
||||
register_no_approval_required/body:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_register_no_approval_required_body
|
||||
register_pending_approval/subject:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_register_pending_approval_subject
|
||||
register_pending_approval/body:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_register_pending_approval_body
|
||||
status_blocked/subject:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_status_blocked_subject
|
||||
status_blocked/body:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_status_blocked_body
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: user.mail
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,60 @@
|
|||
uuid: 5c72f2cc-3b93-4a60-90e7-60bd8ba78d04
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_user_role
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User roles'
|
||||
source:
|
||||
plugin: d7_user_role
|
||||
process:
|
||||
id:
|
||||
-
|
||||
plugin: machine_name
|
||||
source: name
|
||||
-
|
||||
plugin: user_update_8002
|
||||
label:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
permissions:
|
||||
-
|
||||
plugin: static_map
|
||||
source: permissions
|
||||
bypass: true
|
||||
map:
|
||||
'use PHP for block visibility': 'use PHP for settings'
|
||||
'administer site-wide contact form': 'administer contact forms'
|
||||
'post comments without approval': 'skip comment approval'
|
||||
'edit own blog entries': 'edit own blog content'
|
||||
'edit any blog entry': 'edit any blog content'
|
||||
'delete own blog entries': 'delete own blog content'
|
||||
'delete any blog entry': 'delete any blog content'
|
||||
'create forum topics': 'create forum content'
|
||||
'delete any forum topic': 'delete any forum content'
|
||||
'delete own forum topics': 'delete own forum content'
|
||||
'edit any forum topic': 'edit any forum content'
|
||||
'edit own forum topics': 'edit own forum content'
|
||||
-
|
||||
plugin: flatten
|
||||
weight:
|
||||
-
|
||||
plugin: get
|
||||
source: weight
|
||||
destination:
|
||||
plugin: 'entity:user_role'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional:
|
||||
- upgrade_block_content_type
|
||||
- upgrade_d7_filter_format
|
||||
- upgrade_d7_node_type
|
||||
- upgrade_d7_shortcut_set
|
||||
- upgrade_d7_taxonomy_vocabulary
|
|
@ -0,0 +1,54 @@
|
|||
uuid: cc2cfabb-43f1-485a-b126-1289956f9837
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_user_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- user_mail_status_blocked_notify
|
||||
- user_mail_status_activated_notify
|
||||
- user_email_verification
|
||||
- user_register
|
||||
- anonymous
|
||||
source_module: user
|
||||
process:
|
||||
notify/status_blocked:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_status_blocked_notify
|
||||
notify/status_activated:
|
||||
-
|
||||
plugin: get
|
||||
source: user_mail_status_activated_notify
|
||||
verify_mail:
|
||||
-
|
||||
plugin: get
|
||||
source: user_email_verification
|
||||
register:
|
||||
-
|
||||
plugin: static_map
|
||||
source: user_register
|
||||
default_value: visitors_admin_approval
|
||||
map:
|
||||
2: visitors_admin_approval
|
||||
1: visitors
|
||||
0: admin_only
|
||||
anonymous:
|
||||
-
|
||||
plugin: get
|
||||
source: anonymous
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: user.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -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
|
|
@ -0,0 +1,40 @@
|
|||
uuid: a9d6f1df-cd24-4ea1-801b-60212512b735
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_file_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'File configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- file_description_type
|
||||
- file_description_length
|
||||
- file_icon_directory
|
||||
source_module: system
|
||||
process:
|
||||
description/type:
|
||||
-
|
||||
plugin: get
|
||||
source: file_description_type
|
||||
description/length:
|
||||
-
|
||||
plugin: get
|
||||
source: file_description_length
|
||||
icon/directory:
|
||||
-
|
||||
plugin: get
|
||||
source: file_icon_directory
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: file.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,30 @@
|
|||
uuid: a437e926-a51d-4ea7-8ec8-3472aa35707c
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_menu_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Menu UI configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- menu_override_parent_selector
|
||||
source_module: menu
|
||||
process:
|
||||
override_parent_selector:
|
||||
-
|
||||
plugin: get
|
||||
source: menu_override_parent_selector
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: menu_ui.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,30 @@
|
|||
uuid: 28ba7a2c-9a2f-4c1e-a16a-2f737075f470
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_system_image
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Image toolkit configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- image_toolkit
|
||||
source_module: system
|
||||
process:
|
||||
toolkit:
|
||||
-
|
||||
plugin: get
|
||||
source: image_toolkit
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.image
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,30 @@
|
|||
uuid: 1ce11a72-1712-47b7-8f17-bea66ae0651b
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_system_image_gd
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Image quality configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- image_jpeg_quality
|
||||
source_module: system
|
||||
process:
|
||||
jpeg_quality:
|
||||
-
|
||||
plugin: get
|
||||
source: image_jpeg_quality
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.image.gd
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,36 @@
|
|||
uuid: c32721cb-0779-4807-a332-6895a8b5f2fb
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_system_logging
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'System logging'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- error_level
|
||||
source_module: system
|
||||
process:
|
||||
error_level:
|
||||
-
|
||||
plugin: static_map
|
||||
source: error_level
|
||||
default_value: all
|
||||
map:
|
||||
- hide
|
||||
- some
|
||||
- all
|
||||
- verbose
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.logging
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,37 @@
|
|||
uuid: 932b641d-dbdf-41d3-b187-9121d4e10519
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_system_maintenance
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Maintenance page configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- maintenance_mode_message
|
||||
- site_offline_message
|
||||
source_module: system
|
||||
process:
|
||||
message:
|
||||
-
|
||||
plugin: callback
|
||||
callable: array_filter
|
||||
source:
|
||||
- maintenance_mode_message
|
||||
- site_offline_message
|
||||
-
|
||||
plugin: callback
|
||||
callable: current
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.maintenance
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,30 @@
|
|||
uuid: e2c2a380-ba7a-4154-ba2e-037d534ef0d2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_system_rss
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'RSS configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- feed_item_length
|
||||
source_module: system
|
||||
process:
|
||||
items/view_mode:
|
||||
-
|
||||
plugin: get
|
||||
source: feed_item_length
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.rss
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,90 @@
|
|||
uuid: 54f4125b-1253-4ca3-87b6-26c7452a10de
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_system_site
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Site configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
constants:
|
||||
slash: /
|
||||
variables:
|
||||
- site_name
|
||||
- site_mail
|
||||
- site_slogan
|
||||
- site_frontpage
|
||||
- site_403
|
||||
- site_404
|
||||
- drupal_weight_select_max
|
||||
- admin_compact_mode
|
||||
source_module: system
|
||||
process:
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: site_name
|
||||
mail:
|
||||
-
|
||||
plugin: get
|
||||
source: site_mail
|
||||
slogan:
|
||||
-
|
||||
plugin: get
|
||||
source: site_slogan
|
||||
page/front:
|
||||
-
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- site_frontpage
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
/: /node
|
||||
bypass: true
|
||||
page/403:
|
||||
-
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- site_403
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
/: ''
|
||||
bypass: true
|
||||
page/404:
|
||||
-
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- site_404
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
/: ''
|
||||
bypass: true
|
||||
weight_select_max:
|
||||
-
|
||||
plugin: default_value
|
||||
source: drupal_weight_select_max
|
||||
strict: true
|
||||
default_value: 100
|
||||
admin_compact_mode:
|
||||
-
|
||||
plugin: get
|
||||
source: admin_compact_mode
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.site
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,41 @@
|
|||
uuid: 35d676ca-ef25-49ed-a63c-a938c906b07e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_taxonomy_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Taxonomy configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- taxonomy_override_selector
|
||||
- taxonomy_terms_per_page_admin
|
||||
- taxonomy_maintain_index_table
|
||||
source_module: taxonomy
|
||||
process:
|
||||
override_selector:
|
||||
-
|
||||
plugin: get
|
||||
source: taxonomy_override_selector
|
||||
terms_per_page_admin:
|
||||
-
|
||||
plugin: get
|
||||
source: taxonomy_terms_per_page_admin
|
||||
maintain_index_table:
|
||||
-
|
||||
plugin: default_value
|
||||
default_value: true
|
||||
source: taxonomy_maintain_index_table
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: taxonomy.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,30 @@
|
|||
uuid: 18b4223d-b9dd-4453-b495-e9e6ffed0ebc
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_text_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Drupal teaser length configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- teaser_length
|
||||
source_module: text
|
||||
process:
|
||||
default_summary_length:
|
||||
-
|
||||
plugin: get
|
||||
source: teaser_length
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: text.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,58 @@
|
|||
uuid: 6ffdd403-5362-44df-bcfa-8889b423d7a8
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_update_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'Update configuration'
|
||||
source:
|
||||
plugin: update_settings
|
||||
variables:
|
||||
- update_max_fetch_attempts
|
||||
- update_fetch_url
|
||||
- update_notification_threshold
|
||||
- update_notify_emails
|
||||
- update_check_frequency
|
||||
source_module: update
|
||||
process:
|
||||
fetch/max_attempts:
|
||||
-
|
||||
plugin: get
|
||||
source: update_max_fetch_attempts
|
||||
fetch/url:
|
||||
-
|
||||
plugin: get
|
||||
source: update_fetch_url
|
||||
notification/threshold:
|
||||
-
|
||||
plugin: get
|
||||
source: update_notification_threshold
|
||||
notification/emails:
|
||||
-
|
||||
plugin: get
|
||||
source: update_notify_emails
|
||||
check/interval_days:
|
||||
-
|
||||
plugin: get
|
||||
source: update_check_frequency
|
||||
check/disabled_extensions:
|
||||
-
|
||||
plugin: default_value
|
||||
default_value: false
|
||||
fetch/timeout:
|
||||
-
|
||||
plugin: default_value
|
||||
default_value: 30
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: update.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
|
@ -0,0 +1,69 @@
|
|||
uuid: 7d939f27-b517-4d53-8eae-d9369ec6f980
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_user_picture_entity_display
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User picture display configuration'
|
||||
source:
|
||||
plugin: user_picture_instance
|
||||
constants:
|
||||
entity_type: user
|
||||
bundle: user
|
||||
view_mode: default
|
||||
name: user_picture
|
||||
type: image
|
||||
options:
|
||||
label: hidden
|
||||
settings:
|
||||
image_style: ''
|
||||
image_link: content
|
||||
process:
|
||||
entity_type:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/entity_type
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
field_collection_item: paragraph
|
||||
paragraphs_item: paragraph
|
||||
bypass: true
|
||||
bundle:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/bundle
|
||||
view_mode:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/view_mode
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/name
|
||||
type:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/type
|
||||
options:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/options
|
||||
options/type:
|
||||
-
|
||||
plugin: get
|
||||
source: '@type'
|
||||
destination:
|
||||
plugin: component_entity_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_user_picture_field_instance
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,68 @@
|
|||
uuid: 90ff19ea-c42a-4806-9ac8-cf0c986c91c1
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_user_picture_entity_form_display
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User picture form display configuration'
|
||||
source:
|
||||
plugin: user_picture_instance
|
||||
constants:
|
||||
entity_type: user
|
||||
bundle: user
|
||||
form_mode: default
|
||||
name: user_picture
|
||||
type: image_image
|
||||
options:
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
preview_image_style: thumbnail
|
||||
process:
|
||||
entity_type:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/entity_type
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
field_collection_item: paragraph
|
||||
paragraphs_item: paragraph
|
||||
bypass: true
|
||||
bundle:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/bundle
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/name
|
||||
form_mode:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/form_mode
|
||||
type:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/type
|
||||
options:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/options
|
||||
options/type:
|
||||
-
|
||||
plugin: get
|
||||
source: '@type'
|
||||
destination:
|
||||
plugin: component_entity_form_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_user_picture_field_instance
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,54 @@
|
|||
uuid: ae8de50c-a6f3-40f8-9a3e-ec761196c112
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_user_picture_field
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User picture field configuration'
|
||||
source:
|
||||
plugin: md_empty
|
||||
constants:
|
||||
entity_type: user
|
||||
type: image
|
||||
name: user_picture
|
||||
cardinality: 1
|
||||
source_module: user
|
||||
process:
|
||||
entity_type:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/entity_type
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
field_collection_item: paragraph
|
||||
paragraphs_item: paragraph
|
||||
bypass: true
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/name
|
||||
type:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/type
|
||||
cardinality:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/cardinality
|
||||
destination:
|
||||
plugin: 'entity:field_storage_config'
|
||||
dependencies:
|
||||
module:
|
||||
- image
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,69 @@
|
|||
uuid: 23b231fe-06dd-41ed-8abd-86c025df7564
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_user_picture_field_instance
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
- 'Drupal 7'
|
||||
- Configuration
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User picture field instance configuration'
|
||||
source:
|
||||
plugin: user_picture_instance
|
||||
constants:
|
||||
entity_type: user
|
||||
bundle: user
|
||||
name: user_picture
|
||||
settings:
|
||||
file_extensions: 'png gif jpg jpeg webp'
|
||||
alt_field: false
|
||||
title_field: false
|
||||
min_resolution: ''
|
||||
alt_field_required: false
|
||||
title_field_required: false
|
||||
process:
|
||||
entity_type:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/entity_type
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
field_collection_item: paragraph
|
||||
paragraphs_item: paragraph
|
||||
bypass: true
|
||||
bundle:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/bundle
|
||||
field_name:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/name
|
||||
settings:
|
||||
-
|
||||
plugin: get
|
||||
source: constants/settings
|
||||
settings/file_directory:
|
||||
-
|
||||
plugin: get
|
||||
source: file_directory
|
||||
settings/max_filesize:
|
||||
-
|
||||
plugin: get
|
||||
source: max_filesize
|
||||
settings/max_resolution:
|
||||
-
|
||||
plugin: get
|
||||
source: max_resolution
|
||||
destination:
|
||||
plugin: 'entity:field_config'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_user_picture_field
|
||||
optional:
|
||||
- upgrade_d7_field_collection_type
|
|
@ -0,0 +1,10 @@
|
|||
uuid: 24d3be0e-fe03-41b7-8279-ffb4e42de843
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: default
|
||||
label: Default
|
||||
description: 'A container for any migrations not explicitly assigned to a group.'
|
||||
source_type: null
|
||||
module: null
|
||||
shared_configuration: null
|
|
@ -0,0 +1,12 @@
|
|||
uuid: a40452de-5700-4e8e-bb9e-1f0ad7a13b29
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: migrate_drupal_7
|
||||
label: 'Import from Drupal 7'
|
||||
description: 'Migrations originally generated from drush migrate-upgrade --configure-only'
|
||||
source_type: 'Drupal 7'
|
||||
module: null
|
||||
shared_configuration:
|
||||
source:
|
||||
key: migrate
|
Loading…
Reference in a new issue