Commit ad3f2c74 authored by webchick's avatar webchick
Browse files

Issue #2154955 by bdone, chx, cosmicdreams, jacintocapote, jessehs, jibran,...

Issue #2154955 by bdone, chx, cosmicdreams, jacintocapote, jessehs, jibran, marvil07, mpgeek: Migrate variables to config
parent 1c4af85a
id: d6_action_settings
source:
plugin: drupal6_variable
variables:
- actions_max_stack
process:
recursion_limit: actions_max_stack
destination:
plugin: d8_config
config_name: action.settings
id: d6_aggregator_settings
source:
plugin: drupal6_variable
variables:
- aggregator_fetcher
- aggregator_parser
- aggregator_processors
- aggregator_allowed_html_tags
- aggregator_teaser_length
- aggregator_clear
- aggregator_summary_items
- aggregator_category_selector
process:
fetcher: aggregator_fetcher
parser: aggregator_parser
processors: aggregator_processors
'items:allowed_html': aggregator_allowed_html_tags
'items:teaser_length': aggregator_teaser_length
'items:expire': aggregator_clear
'source:list_max': aggregator_summary_items
'source:category_selector': aggregator_category_selector
destination:
plugin: d8_config
config_name: aggregator.settings
id: d6_book_settings
source:
plugin: drupal6_variable
variables:
- book_child_type
- book_block_mode
- book_allowed_types
process:
child_type: book_child_type
'block:navigation:mode': book_block_mode
allowed_types: book_allowed_types
destination:
plugin: d8_config
config_name: book.settings
id: d6_contact_settings
source:
plugin: drupal6_variable
variables:
- contact_default_status
- contact_hourly_threshold
process:
user_default_enabled: contact_default_status
'flood:limit': contact_hourly_threshold
destination:
plugin: d8_config
config_name: contact.settings
id: d6_dblog_settings
source:
plugin: drupal6_variable
variables:
- dblog_row_limit
process:
row_limit: dblog_row_limit
destination:
plugin: d8_config
config_name: dblog.settings
id: d6_field_settings
source:
plugin: drupal6_variable
variables:
- field_language_fallback
process:
language_fallback: field_language_fallback
destination:
plugin: d8_config
config_name: field.settings
id: d6_file_settings
source:
plugin: drupal6_variable
variables:
- file_description_type
- file_description_length
- file_icon_directory
process:
'description:type': file_description_type
'description:length': file_description_length
'icon:directory': file_icon_directory
destination:
plugin: d8_config
config_name: file.settings
id: d6_forum_settings
source:
plugin: drupal6_variable
variables:
- forum_hot_topic
- forum_per_page
- forum_order
- forum_block_num_0
- forum_block_num_1
process:
'block:active:limit': forum_block_num_0
'block:new:limit': forum_block_num_1
'topics:hot_threshold': forum_hot_topic
'topics:page_limit': forum_per_page
'topics:order': forum_order
destination:
plugin: d8_config
config_name: forum.settings
id: d6_locale_settings
source:
plugin: drupal6_variable
variables:
- locale_cache_strings
- locale_js_directory
process:
cache_string: locale_cache_strings
'javascript:directory': locale_js_directory
destination:
plugin: d8_config
config_name: locale.settings
id: d6_menu_settings
source:
plugin: drupal6_variable
variables:
- menu_primary_links_source
- menu_secondary_links_source
- menu_override_parent_selector
process:
main_links: menu_primary_links_source
secondary_links: menu_secondary_links_source
override_parent_selector: menu_override_parent_selector
destination:
plugin: d8_config
config_name: menu.settings
id: d6_node_settings
source:
plugin: drupal6_variable
variables:
- node_admin_theme
process:
use_admin_theme: node_admin_theme
destination:
plugin: d8_config
config_name: node.settings
id: d6_search_settings
source:
plugin: drupal6_variable
variables:
- minimum_word_size
- overlap_cjk
- search_cron_limit
- search_tag_weights
- search_and_or_limit
process:
'index:minimum_word_size': minimum_word_size
'index:overlap_cjk': overlap_cjk
'index:cron_limit': search_cron_limit
destination:
plugin: d8_config
config_name: search.settings
id: d6_simpletest_settings
source:
plugin: drupal6_variable
variables:
- simpletest_clear_results
- simpletest_httpauth_method
- simpletest_httpauth_password
- simpletest_httpauth_username
- simpletest_verbose
process:
clear_results: simpletest_clear_results
'httpauth:method': simpletest_httpauth_method
'httpauth:password': simpletest_httpauth_password
'httpauth:username': simpletest_httpauth_username
verbose: simpletest_verbose
destination:
plugin: d8_config
config_name: simpletest.settings
id: d6_statistics_settings
source:
plugin: drupal6_variable
variables:
- statistics_enable_access_log
- statistics_flush_accesslog_timer
- statistics_count_content_views
- statistics_block_top_day_num
- statistics_block_top_all_num
- statistics_block_top_last_num
process:
'access_log:enable': statistics_enable_access_log
'access_log:max_lifetime': statistics_flush_accesslog_timer
'count_content_views': statistics_count_content_views
'block:popular:top_day_limit': statistics_block_top_day_num
'block:popular:top_all_limit': statistics_block_top_all_num
'block:popular:top_recent_limit': statistics_block_top_last_num
destination:
plugin: d8_config
config_name: statistics.settings
id: d6_syslog_settings
source:
plugin: drupal6_variable
variables:
- syslog_identity
- syslog_facility
process:
identity: syslog_identity
facility: syslog_facility
destination:
plugin: d8_config
config_name: syslog.settings
id: d6_system_cron
source:
plugin: drupal6_variable
variables:
- cron_threshold_warning
- cron_threshold_error
- cron_last
plugin: drupal6_variable
variables:
- cron_threshold_warning
- cron_threshold_error
- cron_last
process:
'threshold:warning': cron_threshold_warning
'threshold:error': cron_threshold_error
'threshold:warning': cron_threshold_warning
'threshold:error': cron_threshold_error
destination:
plugin: d8_config
config_name: system.cron
plugin: d8_config
config_name: system.cron
id: d6_system_file
source:
plugin: drupal6_variable
variables:
- file_directory_path
- file_directory_temp
process:
'path:private': file_directory_path
'path:temporary': file_directory_temp
destination:
plugin: d8_config
config_name: system.file
id: d6_system_filter
source:
plugin: drupal6_variable
variables:
- filter_allowed_protocols
process:
protocols: filter_allowed_protocols
destination:
plugin: d8_config
config_name: system.filter
id: d6_system_image
source:
plugin: drupal6_variable
variables:
- image_toolkit
process:
toolkit: image_toolkit
destination:
plugin: d8_config
config_name: system.image
id: d6_system_image_gd
source:
plugin: drupal6_variable
variables:
- image_jpeg_quality
process:
jpeg_quality: image_jpeg_quality
destination:
plugin: d8_config
config_name: system.image.gd
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment