d6_language_negotiation_settings.yml

Same filename in other branches
  1. 9 core/modules/language/migrations/d6_language_negotiation_settings.yml
  2. 8.9.x core/modules/language/migrations/d6_language_negotiation_settings.yml
  3. 11.x core/modules/language/migrations/d6_language_negotiation_settings.yml
core/modules/language/migrations/d6_language_negotiation_settings.yml

File

core/modules/language/migrations/d6_language_negotiation_settings.yml

View source
  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: locale
  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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.