By gábor hojtsy on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Introduced in version:
8.0
Issue links:
Description:
This is the last piece of all Drupal 7 style variable_get/set values moving to Drupal 8 configuration settings. Although the changes do not affect people using the negotiation API, the values are now stored with the configuration system.
Drupal 7 variables language_negotiation_$type and language_negotiation_methods_weight_$type which were used to store settings for each negotiation $type are now stored under language.types.negotiation in individual subkeys.
The default settings for the three types are as follows:
negotiation:
language_content:
enabled:
language-interface: 0
language_url:
enabled:
language-url: 0
language-url-fallback: 1
language_interface:
enabled:
language-url: 0
The enabled list contains all enabled language negotiation methods with their weights as values.
This may change further in #2174619: Make language negotiation plugins stateless.
Impacts:
Module developers