Update Composer, update everything

This commit is contained in:
Oliver Davies 2018-11-23 12:29:20 +00:00
parent ea3e94409f
commit dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions

View file

@ -0,0 +1,23 @@
id: d6_date_formats
label: Date format configuration
migration_tags:
- Drupal 6
- Configuration
source:
plugin: variable_multirow
variables:
- date_format_long
- date_format_medium
- date_format_short
source_module: system
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

View file

@ -0,0 +1,14 @@
# The menu_settings migration is in the menu_ui module.
id: d6_menu
label: Menus
migration_tags:
- Drupal 6
- Configuration
source:
plugin: menu
process:
id: menu_name
label: title
description: description
destination:
plugin: entity:menu

View file

@ -0,0 +1,18 @@
id: d6_system_cron
label: Cron settings
migration_tags:
- Drupal 6
- Configuration
source:
plugin: variable
variables:
- cron_threshold_warning
- cron_threshold_error
- cron_last
source_module: system
process:
'threshold/requirements_warning': cron_threshold_warning
'threshold/requirements_error': cron_threshold_error
destination:
plugin: config
config_name: system.cron

View file

@ -0,0 +1,21 @@
id: d6_system_date
label: System date configuration
migration_tags:
- Drupal 6
- Configuration
source:
plugin: variable
variables:
- configurable_timezones
- date_first_day
- date_default_timezone
source_module: system
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

View file

@ -0,0 +1,22 @@
id: d6_system_file
label: File system configuration
migration_tags:
- Drupal 6
- Configuration
source:
plugin: variable
variables:
- file_directory_temp
- allow_insecure_uploads
source_module: system
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

View file

@ -0,0 +1,21 @@
id: d6_system_performance
label: Performance configuration
migration_tags:
- Drupal 6
- Configuration
source:
plugin: variable
variables:
- preprocess_css
- preprocess_js
- cache_lifetime
- cache
- page_compression
source_module: system
process:
'css/preprocess': preprocess_css
'js/preprocess': preprocess_js
'cache/page/max_age': cache_lifetime
destination:
plugin: config
config_name: system.performance

View file

@ -0,0 +1,31 @@
id: d7_global_theme_settings
label: D7 global theme settings
migration_tags:
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- theme_settings
source_module: system
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

View file

@ -0,0 +1,21 @@
id: d7_menu
label: Menus
migration_tags:
- Drupal 7
- Configuration
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

View file

@ -0,0 +1,15 @@
id: d7_system_authorize
label: Drupal 7 file transfer authorize configuration
migration_tags:
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- authorize_filetransfer_default
source_module: system
process:
filetransfer_default: authorize_filetransfer_default
destination:
plugin: config
config_name: system.authorize

View file

@ -0,0 +1,17 @@
id: d7_system_cron
label: Drupal 7 cron settings
migration_tags:
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- cron_threshold_warning
- cron_threshold_error
source_module: system
process:
'threshold/requirements_warning': cron_threshold_warning
'threshold/requirements_error': cron_threshold_error
destination:
plugin: config
config_name: system.cron

View file

@ -0,0 +1,25 @@
id: d7_system_date
label: Drupal 7 system date configuration
migration_tags:
- Drupal 7
- 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': 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

View file

@ -0,0 +1,22 @@
id: d7_system_file
label: Drupal 7 file system configuration
migration_tags:
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- allow_insecure_uploads
- file_temporary_path
source_module: system
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

View file

@ -0,0 +1,20 @@
id: d7_system_mail
label: Drupal 7 system mail configuration
migration_tags:
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- mail_system
source_module: 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

View file

@ -0,0 +1,20 @@
id: d7_system_performance
label: Drupal 7 performance configuration
migration_tags:
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- preprocess_css
- preprocess_js
- cache_lifetime
- page_compression
source_module: system
process:
'css/preprocess': preprocess_css
'js/preprocess': preprocess_js
'cache/page/max_age': cache_lifetime
destination:
plugin: config
config_name: system.performance

View file

@ -0,0 +1,45 @@
id: d7_theme_settings
label: D7 theme settings
migration_tags:
- Drupal 7
- Configuration
source:
plugin: d7_theme_settings
constants:
config_suffix: '.settings'
process:
# Build the configuration name from the variable name, i.e.
# theme_bartik_settings becomes bartik.settings.
theme_name:
-
plugin: explode
source: name
delimiter: _
-
plugin: extract
index:
- 1
configuration_name:
plugin: concat
source:
- '@theme_name'
- constants/config_suffix
toggle_logo: theme_settings/toggle_logo
toggle_name: value/toggle_name
toggle_slogan: value/toggle_slogan
toggle_node_user_picture: value/toggle_node_user_picture
toggle_comment_user_picture: value/toggle_comment_user_picture
toggle_comment_user_verification: value/toggle_comment_user_verification
toggle_favicon: value/toggle_favicon
default_logo: value/default_logo
logo_path: value/logo_path
logo_upload: value/logo_upload
default_favicon: value/default_favicon
favicon_path: value/favicon_path
favicon_mimetype: value/favicon_mimetype
# Ignore settings not present in Drupal 8.
# value/favicon_upload
# value/toggle_main_menu
# value/toggle_secondary_menu
destination:
plugin: d7_theme_settings

View file

@ -0,0 +1,16 @@
id: system_image
label: Image toolkit configuration
migration_tags:
- Drupal 6
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- image_toolkit
source_module: system
process:
toolkit: image_toolkit
destination:
plugin: config
config_name: system.image

View file

@ -0,0 +1,16 @@
id: system_image_gd
label: Image quality configuration
migration_tags:
- Drupal 6
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- image_jpeg_quality
source_module: system
process:
jpeg_quality: image_jpeg_quality
destination:
plugin: config
config_name: system.image.gd

View file

@ -0,0 +1,24 @@
id: system_logging
label: System logging
migration_tags:
- Drupal 6
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- error_level
source_module: system
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

View file

@ -0,0 +1,16 @@
id: system_maintenance
label: Maintenance page configuration
migration_tags:
- Drupal 6
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- site_offline_message
source_module: system
process:
message: site_offline_message
destination:
plugin: config
config_name: system.maintenance

View file

@ -0,0 +1,18 @@
id: system_rss
label: RSS configuration
migration_tags:
- Drupal 6
- Drupal 7
- Configuration
source:
plugin: variable
variables:
- feed_default_items
- feed_item_length
source_module: system
process:
'items/limit': feed_default_items
'items/view_mode': feed_item_length
destination:
plugin: config
config_name: system.rss

View file

@ -0,0 +1,44 @@
id: system_site
label: Site configuration
migration_tags:
- Drupal 6
- Drupal 7
- 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: 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