Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										20
									
								
								web/core/modules/system/migrations/action_settings.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								web/core/modules/system/migrations/action_settings.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,20 @@
 | 
			
		||||
id: action_settings
 | 
			
		||||
label: Action configuration
 | 
			
		||||
migration_tags:
 | 
			
		||||
  - Drupal 6
 | 
			
		||||
  - Drupal 7
 | 
			
		||||
  - 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
 | 
			
		||||
							
								
								
									
										50
									
								
								web/core/modules/system/migrations/d6_action.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								web/core/modules/system/migrations/d6_action.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,50 @@
 | 
			
		||||
# cspell:ignore imagecache
 | 
			
		||||
id: d6_action
 | 
			
		||||
label: Actions
 | 
			
		||||
migration_tags:
 | 
			
		||||
  - Drupal 6
 | 
			
		||||
  - Configuration
 | 
			
		||||
source:
 | 
			
		||||
  plugin: action
 | 
			
		||||
process:
 | 
			
		||||
  id:
 | 
			
		||||
    -
 | 
			
		||||
      plugin: machine_name
 | 
			
		||||
      source: aid
 | 
			
		||||
  label: description
 | 
			
		||||
  type: 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
 | 
			
		||||
        user_block_ip_action: 0
 | 
			
		||||
        imagecache_flush_action: 0
 | 
			
		||||
        imagecache_generate_all_action: 0
 | 
			
		||||
        imagecache_generate_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
 | 
			
		||||
							
								
								
									
										24
									
								
								web/core/modules/system/migrations/d6_date_formats.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								web/core/modules/system/migrations/d6_date_formats.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,24 @@
 | 
			
		||||
# cspell:ignore multirow
 | 
			
		||||
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
 | 
			
		||||
							
								
								
									
										14
									
								
								web/core/modules/system/migrations/d6_menu.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								web/core/modules/system/migrations/d6_menu.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										18
									
								
								web/core/modules/system/migrations/d6_system_cron.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								web/core/modules/system/migrations/d6_system_cron.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										21
									
								
								web/core/modules/system/migrations/d6_system_date.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								web/core/modules/system/migrations/d6_system_date.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										20
									
								
								web/core/modules/system/migrations/d6_system_file.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								web/core/modules/system/migrations/d6_system_file.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,20 @@
 | 
			
		||||
id: d6_system_file
 | 
			
		||||
label: File system configuration
 | 
			
		||||
migration_tags:
 | 
			
		||||
  - Drupal 6
 | 
			
		||||
  - Configuration
 | 
			
		||||
source:
 | 
			
		||||
  plugin: variable
 | 
			
		||||
  variables:
 | 
			
		||||
    - allow_insecure_uploads
 | 
			
		||||
  source_module: system
 | 
			
		||||
process:
 | 
			
		||||
  allow_insecure_uploads:
 | 
			
		||||
    plugin: static_map
 | 
			
		||||
    source: allow_insecure_uploads
 | 
			
		||||
    map:
 | 
			
		||||
      0: FALSE
 | 
			
		||||
      1: TRUE
 | 
			
		||||
destination:
 | 
			
		||||
  plugin: config
 | 
			
		||||
  config_name: system.file
 | 
			
		||||
							
								
								
									
										21
									
								
								web/core/modules/system/migrations/d6_system_performance.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								web/core/modules/system/migrations/d6_system_performance.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										46
									
								
								web/core/modules/system/migrations/d7_action.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								web/core/modules/system/migrations/d7_action.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,46 @@
 | 
			
		||||
id: d7_action
 | 
			
		||||
label: Actions
 | 
			
		||||
migration_tags:
 | 
			
		||||
  - Drupal 7
 | 
			
		||||
  - Configuration
 | 
			
		||||
source:
 | 
			
		||||
  plugin: action
 | 
			
		||||
process:
 | 
			
		||||
  id:
 | 
			
		||||
    -
 | 
			
		||||
      plugin: machine_name
 | 
			
		||||
      source: aid
 | 
			
		||||
  label: label
 | 
			
		||||
  type: 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
 | 
			
		||||
@ -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
 | 
			
		||||
							
								
								
									
										25
									
								
								web/core/modules/system/migrations/d7_menu.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								web/core/modules/system/migrations/d7_menu.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,25 @@
 | 
			
		||||
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
 | 
			
		||||
  langcode:
 | 
			
		||||
    plugin: default_value
 | 
			
		||||
    source: language
 | 
			
		||||
    default_value: en
 | 
			
		||||
destination:
 | 
			
		||||
  plugin: entity:menu
 | 
			
		||||
							
								
								
									
										19
									
								
								web/core/modules/system/migrations/d7_system_authorize.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								web/core/modules/system/migrations/d7_system_authorize.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
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:
 | 
			
		||||
    plugin: skip_on_empty
 | 
			
		||||
    method: row
 | 
			
		||||
    source: empty
 | 
			
		||||
destination:
 | 
			
		||||
  plugin: config
 | 
			
		||||
  config_name: null
 | 
			
		||||
  destination_module: system
 | 
			
		||||
							
								
								
									
										17
									
								
								web/core/modules/system/migrations/d7_system_cron.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								web/core/modules/system/migrations/d7_system_cron.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										25
									
								
								web/core/modules/system/migrations/d7_system_date.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								web/core/modules/system/migrations/d7_system_date.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										20
									
								
								web/core/modules/system/migrations/d7_system_file.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								web/core/modules/system/migrations/d7_system_file.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,20 @@
 | 
			
		||||
id: d7_system_file
 | 
			
		||||
label: Drupal 7 file system configuration
 | 
			
		||||
migration_tags:
 | 
			
		||||
  - Drupal 7
 | 
			
		||||
  - Configuration
 | 
			
		||||
source:
 | 
			
		||||
  plugin: variable
 | 
			
		||||
  variables:
 | 
			
		||||
    - allow_insecure_uploads
 | 
			
		||||
  source_module: system
 | 
			
		||||
process:
 | 
			
		||||
  allow_insecure_uploads:
 | 
			
		||||
    plugin: static_map
 | 
			
		||||
    source: allow_insecure_uploads
 | 
			
		||||
    map:
 | 
			
		||||
      0: FALSE
 | 
			
		||||
      1: TRUE
 | 
			
		||||
destination:
 | 
			
		||||
  plugin: config
 | 
			
		||||
  config_name: system.file
 | 
			
		||||
							
								
								
									
										38
									
								
								web/core/modules/system/migrations/d7_system_mail.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								web/core/modules/system/migrations/d7_system_mail.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,38 @@
 | 
			
		||||
id: d7_system_mail
 | 
			
		||||
label: Drupal 7 system mail configuration
 | 
			
		||||
migration_tags:
 | 
			
		||||
  - Drupal 7
 | 
			
		||||
  - 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
 | 
			
		||||
							
								
								
									
										20
									
								
								web/core/modules/system/migrations/d7_system_performance.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								web/core/modules/system/migrations/d7_system_performance.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										52
									
								
								web/core/modules/system/migrations/d7_theme_settings.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								web/core/modules/system/migrations/d7_theme_settings.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,52 @@
 | 
			
		||||
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.
 | 
			
		||||
  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: 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
 | 
			
		||||
@ -0,0 +1,15 @@
 | 
			
		||||
finished:
 | 
			
		||||
  6:
 | 
			
		||||
    menu:
 | 
			
		||||
      - system
 | 
			
		||||
      - menu_link_content
 | 
			
		||||
      - menu_ui
 | 
			
		||||
    system: system
 | 
			
		||||
    # An upgrade path is not needed for jquery_ui.
 | 
			
		||||
    jquery_ui: core
 | 
			
		||||
  7:
 | 
			
		||||
    menu:
 | 
			
		||||
      - system
 | 
			
		||||
      - menu_link_content
 | 
			
		||||
      - menu_ui
 | 
			
		||||
    system: system
 | 
			
		||||
							
								
								
									
										16
									
								
								web/core/modules/system/migrations/system_image.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								web/core/modules/system/migrations/system_image.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										16
									
								
								web/core/modules/system/migrations/system_image_gd.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								web/core/modules/system/migrations/system_image_gd.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										24
									
								
								web/core/modules/system/migrations/system_logging.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								web/core/modules/system/migrations/system_logging.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										26
									
								
								web/core/modules/system/migrations/system_maintenance.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								web/core/modules/system/migrations/system_maintenance.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,26 @@
 | 
			
		||||
id: system_maintenance
 | 
			
		||||
label: Maintenance page configuration
 | 
			
		||||
migration_tags:
 | 
			
		||||
  - Drupal 6
 | 
			
		||||
  - Drupal 7
 | 
			
		||||
  - 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
 | 
			
		||||
							
								
								
									
										16
									
								
								web/core/modules/system/migrations/system_rss.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								web/core/modules/system/migrations/system_rss.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
			
		||||
id: system_rss
 | 
			
		||||
label: RSS configuration
 | 
			
		||||
migration_tags:
 | 
			
		||||
  - Drupal 6
 | 
			
		||||
  - Drupal 7
 | 
			
		||||
  - Configuration
 | 
			
		||||
source:
 | 
			
		||||
  plugin: variable
 | 
			
		||||
  variables:
 | 
			
		||||
    - feed_item_length
 | 
			
		||||
  source_module: system
 | 
			
		||||
process:
 | 
			
		||||
  'items/view_mode': feed_item_length
 | 
			
		||||
destination:
 | 
			
		||||
  plugin: config
 | 
			
		||||
  config_name: system.rss
 | 
			
		||||
							
								
								
									
										70
									
								
								web/core/modules/system/migrations/system_site.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								web/core/modules/system/migrations/system_site.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,70 @@
 | 
			
		||||
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
 | 
			
		||||
    -
 | 
			
		||||
      plugin: static_map
 | 
			
		||||
      map:
 | 
			
		||||
        # Drupal 6 and Drupal 7 default site_frontpage is 'node'. If this
 | 
			
		||||
        # variable is set to 'node', to an empty string, or it is completely
 | 
			
		||||
        # missing, we want to migrate the equivalent Drupal 9 value, which is
 | 
			
		||||
        # '/node'.
 | 
			
		||||
        '/': '/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: admin_compact_mode
 | 
			
		||||
destination:
 | 
			
		||||
  plugin: config
 | 
			
		||||
  config_name: system.site
 | 
			
		||||
		Reference in New Issue
	
	Block a user