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