migrate_plus.migration.upgrade_d6_language_negotiation_settings.yml 909 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. uuid: 387200f7-aeb9-4d35-9640-66d556f89a67
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_language_negotiation_settings
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 6'
  11. migration_group: migrate_drupal_6
  12. label: 'Language negotiation settings'
  13. source:
  14. plugin: variable
  15. variables:
  16. - language_negotiation
  17. source_module: language
  18. process:
  19. session/parameter:
  20. plugin: default_value
  21. default_value: language
  22. selected_langcode:
  23. plugin: default_value
  24. default_value: site_default
  25. url/source:
  26. plugin: static_map
  27. source: language_negotiation
  28. default_value: path_prefix
  29. map:
  30. - path_prefix
  31. - path_prefix
  32. - path_prefix
  33. - domain
  34. destination:
  35. plugin: config
  36. config_name: language.negotiation
  37. migration_dependencies:
  38. required:
  39. - upgrade_language
  40. optional: { }