migrate_plus.migration.upgrade_language_prefixes_and_domains.yml 761 B

1234567891011121314151617181920212223242526272829303132333435
  1. uuid: e423efaa-9a1c-43d8-934a-51303ad4f5a1
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_language_prefixes_and_domains
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 6'
  11. - 'Drupal 7'
  12. migration_group: migrate_drupal_6
  13. label: 'Language prefixes and domains'
  14. source:
  15. plugin: language
  16. fetch_all: true
  17. domain_negotiation: true
  18. process:
  19. url/prefixes:
  20. plugin: array_build
  21. source: languages
  22. key: language
  23. value: prefix
  24. url/domains:
  25. plugin: language_domains
  26. source: languages
  27. key: language
  28. value: domain
  29. destination:
  30. plugin: config
  31. config_name: language.negotiation
  32. migration_dependencies:
  33. required:
  34. - upgrade_language
  35. optional: { }