Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / language / migrations / d7_language_negotiation_settings.yml
1 id: d7_language_negotiation_settings
2 label: Language negotiation settings
3 migration_tags:
4   - Drupal 7
5   - Configuration
6 source:
7   plugin: variable
8   variables:
9     - locale_language_negotiation_session_param
10     - locale_language_negotiation_url_part
11   source_module: locale
12 process:
13   session/parameter:
14     plugin: default_value
15     source: locale_language_negotiation_session_param
16     default_value: 'language'
17   selected_langcode:
18     plugin: default_value
19     default_value: 'site_default'
20   url/source:
21     plugin: static_map
22     source: locale_language_negotiation_url_part
23     default_value: path_prefix
24     map:
25       # LOCALE_LANGUAGE_NEGOTIATION_URL_PREFIX = 0
26       # LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN = 1
27       0: path_prefix
28       1: domain
29 destination:
30   plugin: config
31   config_name: language.negotiation
32 migration_dependencies:
33   required:
34     - language