language_prefixes_and_domains.yml

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

File

core/modules/language/migrations/language_prefixes_and_domains.yml

View source
  1. id: language_prefixes_and_domains
  2. label: Language prefixes and domains
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. - Configuration
  7. source:
  8. plugin: language
  9. fetch_all: true
  10. domain_negotiation: true
  11. process:
  12. url/prefixes:
  13. plugin: array_build
  14. source: languages
  15. key: language
  16. value: prefix
  17. url/domains:
  18. plugin: language_domains
  19. source: languages
  20. key: language
  21. value: domain
  22. destination:
  23. plugin: config
  24. config_name: language.negotiation
  25. migration_dependencies:
  26. required:
  27. - language

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