Move into nested docroot
This commit is contained in:
parent
83a0d3a149
commit
c8b70abde9
13405 changed files with 0 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
id: d6_date_formats
|
||||
label: Date format configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
source:
|
||||
plugin: variable_multirow
|
||||
variables:
|
||||
- date_format_long
|
||||
- date_format_medium
|
||||
- date_format_short
|
||||
process:
|
||||
id:
|
||||
plugin: static_map
|
||||
source: name
|
||||
map:
|
||||
date_format_long: long
|
||||
date_format_short: short
|
||||
date_format_medium: medium
|
||||
pattern: value
|
||||
destination:
|
||||
plugin: entity:date_format
|
13
web/core/modules/system/migration_templates/d6_menu.yml
Normal file
13
web/core/modules/system/migration_templates/d6_menu.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
# The menu_settings migration is in the menu_ui module.
|
||||
id: d6_menu
|
||||
label: Menus
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
source:
|
||||
plugin: menu
|
||||
process:
|
||||
id: menu_name
|
||||
label: title
|
||||
description: description
|
||||
destination:
|
||||
plugin: entity:menu
|
|
@ -0,0 +1,16 @@
|
|||
id: d6_system_cron
|
||||
label: Cron settings
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- cron_threshold_warning
|
||||
- cron_threshold_error
|
||||
- cron_last
|
||||
process:
|
||||
'threshold/requirements_warning': cron_threshold_warning
|
||||
'threshold/requirements_error': cron_threshold_error
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.cron
|
|
@ -0,0 +1,19 @@
|
|||
id: d6_system_date
|
||||
label: System date configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- configurable_timezones
|
||||
- date_first_day
|
||||
- date_default_timezone
|
||||
process:
|
||||
'timezone/user/configurable': configurable_timezones
|
||||
first_day: date_first_day
|
||||
'timezone/default':
|
||||
plugin: timezone
|
||||
source: date_default_timezone
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.date
|
|
@ -0,0 +1,20 @@
|
|||
id: d6_system_file
|
||||
label: File system configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- file_directory_temp
|
||||
- allow_insecure_uploads
|
||||
process:
|
||||
'path/temporary': file_directory_temp
|
||||
allow_insecure_uploads:
|
||||
plugin: static_map
|
||||
source: allow_insecure_uploads
|
||||
map:
|
||||
0: FALSE
|
||||
1: TRUE
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.file
|
|
@ -0,0 +1,20 @@
|
|||
id: d6_system_performance
|
||||
label: Performance configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- preprocess_css
|
||||
- preprocess_js
|
||||
- cache_lifetime
|
||||
- cache
|
||||
- page_compression
|
||||
process:
|
||||
'css/preprocess': preprocess_css
|
||||
'js/preprocess': preprocess_js
|
||||
'cache/page/max_age': cache_lifetime
|
||||
'response/gzip': page_compression
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.performance
|
|
@ -0,0 +1,29 @@
|
|||
id: d7_global_theme_settings
|
||||
label: D7 global theme settings
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- theme_settings
|
||||
process:
|
||||
'features/logo': theme_settings/toggle_logo
|
||||
'features/name': theme_settings/toggle_name
|
||||
'features/slogan': theme_settings/toggle_slogan
|
||||
'features/node_user_picture': theme_settings/toggle_node_user_picture
|
||||
'features/comment_user_picture': theme_settings/toggle_comment_user_picture
|
||||
'features/comment_user_verification': theme_settings/toggle_comment_user_verification
|
||||
'features/favicon': theme_settings/toggle_favicon
|
||||
'logo/use_default': theme_settings/default_logo
|
||||
'logo/path': theme_settings/logo_path
|
||||
'favicon/use_default': theme_settings/default_favicon
|
||||
'favicon/path': theme_settings/favicon_path
|
||||
'favicon/mimetype': theme_settings/favicon_mimetype
|
||||
# Ignore settings not present in Drupal 8
|
||||
# theme_settings/logo_upload
|
||||
# theme_settings/favicon_upload
|
||||
# theme_settings/toggle_main_menu
|
||||
# theme_settings/toggle_secondary_menu
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.theme.global
|
20
web/core/modules/system/migration_templates/d7_menu.yml
Normal file
20
web/core/modules/system/migration_templates/d7_menu.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
id: d7_menu
|
||||
label: Menus
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
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: title
|
||||
description: description
|
||||
destination:
|
||||
plugin: entity:menu
|
|
@ -0,0 +1,12 @@
|
|||
id: d7_system_authorize
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- authorize_filetransfer_default
|
||||
process:
|
||||
filetransfer_default: authorize_filetransfer_default
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.authorize
|
|
@ -0,0 +1,15 @@
|
|||
id: d7_system_cron
|
||||
label: Drupal 7 cron settings
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- cron_threshold_warning
|
||||
- cron_threshold_error
|
||||
process:
|
||||
'threshold/requirements_warning': cron_threshold_warning
|
||||
'threshold/requirements_error': cron_threshold_error
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.cron
|
|
@ -0,0 +1,22 @@
|
|||
id: d7_system_date
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- site_default_country
|
||||
- date_first_day
|
||||
- date_default_timezone
|
||||
- configurable_timezones
|
||||
- empty_timezone_message
|
||||
- user_default_timezone
|
||||
process:
|
||||
'country/default': site_default_country
|
||||
first_day: date_first_day
|
||||
'timezone/default': date_default_timezone
|
||||
'timezone/user/configurable': configurable_timezones
|
||||
'timezone/user/warn': empty_timezone_message
|
||||
'timezone/user/default': user_default_timezone
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.date
|
|
@ -0,0 +1,20 @@
|
|||
id: d7_system_file
|
||||
label: Drupal 7 file system configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- allow_insecure_uploads
|
||||
- file_temporary_path
|
||||
process:
|
||||
allow_insecure_uploads:
|
||||
plugin: static_map
|
||||
source: allow_insecure_uploads
|
||||
map:
|
||||
0: FALSE
|
||||
1: TRUE
|
||||
'path/temporary': file_temporary_path
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.file
|
|
@ -0,0 +1,17 @@
|
|||
id: d7_system_mail
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- mail_system
|
||||
process:
|
||||
'interface/default':
|
||||
plugin: static_map
|
||||
source: 'mail_system/default-system'
|
||||
map:
|
||||
DefaultMailSystem: php_mail
|
||||
MailTestCase: test_mail_collector
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.mail
|
|
@ -0,0 +1,19 @@
|
|||
id: d7_system_performance
|
||||
label: Drupal 7 performance configuration
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- preprocess_css
|
||||
- preprocess_js
|
||||
- cache_lifetime
|
||||
- page_compression
|
||||
process:
|
||||
'css/preprocess': preprocess_css
|
||||
'js/preprocess': preprocess_js
|
||||
'cache/page/max_age': cache_lifetime
|
||||
'response/gzip': page_compression
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.performance
|
14
web/core/modules/system/migration_templates/system_image.yml
Normal file
14
web/core/modules/system/migration_templates/system_image.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
id: system_image
|
||||
label: Image toolkit configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- image_toolkit
|
||||
process:
|
||||
toolkit: image_toolkit
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.image
|
|
@ -0,0 +1,14 @@
|
|||
id: system_image_gd
|
||||
label: Image quality configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- image_jpeg_quality
|
||||
process:
|
||||
jpeg_quality: image_jpeg_quality
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.image.gd
|
|
@ -0,0 +1,22 @@
|
|||
id: system_logging
|
||||
label: System logging
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- error_level
|
||||
process:
|
||||
error_level:
|
||||
plugin: static_map
|
||||
source: error_level
|
||||
default_value: all
|
||||
map:
|
||||
0: hide
|
||||
1: some
|
||||
2: all
|
||||
3: verbose
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.logging
|
|
@ -0,0 +1,14 @@
|
|||
id: system_maintenance
|
||||
label: Maintenance page configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- site_offline_message
|
||||
process:
|
||||
message: site_offline_message
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.maintenance
|
16
web/core/modules/system/migration_templates/system_rss.yml
Normal file
16
web/core/modules/system/migration_templates/system_rss.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
id: system_rss
|
||||
label: RSS configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- feed_default_items
|
||||
- feed_item_length
|
||||
process:
|
||||
'items/limit': feed_default_items
|
||||
'items/view_mode': feed_item_length
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.rss
|
42
web/core/modules/system/migration_templates/system_site.yml
Normal file
42
web/core/modules/system/migration_templates/system_site.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
id: system_site
|
||||
label: Site configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
- Drupal 7
|
||||
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
|
||||
process:
|
||||
name: site_name
|
||||
mail: site_mail
|
||||
slogan: site_slogan
|
||||
'page/front':
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- site_frontpage
|
||||
'page/403':
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- site_403
|
||||
'page/404':
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- site_404
|
||||
weight_select_max: drupal_weight_select_max
|
||||
admin_compact_mode: admin_compact_mode
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.site
|
Reference in a new issue