You are here

d6_system_site_translation.yml in Drupal 8

core/modules/config_translation/migrations/d6_system_site_translation.yml

File

core/modules/config_translation/migrations/d6_system_site_translation.yml
View source
  1. id: d6_system_site_translation
  2. label: Site configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. - Multilingual
  7. source:
  8. plugin: d6_variable_translation
  9. constants:
  10. slash: '/'
  11. variables:
  12. - site_name
  13. - site_mail
  14. - site_slogan
  15. - site_frontpage
  16. - site_403
  17. - site_404
  18. source_module: i18n
  19. process:
  20. langcode: language
  21. name: site_name
  22. mail: site_mail
  23. slogan: site_slogan
  24. 'page/front':
  25. plugin: concat
  26. source:
  27. - constants/slash
  28. - site_frontpage
  29. 'page/403':
  30. plugin: concat
  31. source:
  32. - constants/slash
  33. - site_403
  34. 'page/404':
  35. plugin: concat
  36. source:
  37. - constants/slash
  38. - site_404
  39. destination:
  40. plugin: config
  41. config_name: system.site
  42. translations: true