You are here

d6_user_mail_translation.yml in Drupal 9

core/modules/config_translation/migrations/d6_user_mail_translation.yml

File

core/modules/config_translation/migrations/d6_user_mail_translation.yml
View source
  1. id: d6_user_mail_translation
  2. label: User mail configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. - Multilingual
  7. source:
  8. plugin: d6_variable_translation
  9. variables:
  10. - user_mail_status_activated_subject
  11. - user_mail_status_activated_body
  12. - user_mail_password_reset_subject
  13. - user_mail_password_reset_body
  14. - user_mail_status_deleted_subject
  15. - user_mail_status_deleted_body
  16. - user_mail_register_admin_created_subject
  17. - user_mail_register_admin_created_body
  18. - user_mail_register_no_approval_required_subject
  19. - user_mail_register_no_approval_required_body
  20. - user_mail_register_pending_approval_subject
  21. - user_mail_register_pending_approval_body
  22. - user_mail_status_blocked_subject
  23. - user_mail_status_blocked_body
  24. source_module: i18n
  25. process:
  26. langcode: language
  27. 'status_activated/subject':
  28. plugin: convert_tokens
  29. source: user_mail_status_activated_subject
  30. 'status_activated/body':
  31. plugin: convert_tokens
  32. source: user_mail_status_activated_body
  33. 'password_reset/subject':
  34. plugin: convert_tokens
  35. source: user_mail_password_reset_subject
  36. 'password_reset/body':
  37. plugin: convert_tokens
  38. source: user_mail_password_reset_body
  39. 'cancel_confirm/subject':
  40. plugin: convert_tokens
  41. source: user_mail_status_deleted_subject
  42. 'cancel_confirm/body':
  43. plugin: convert_tokens
  44. source: user_mail_status_deleted_body
  45. 'register_admin_created/subject':
  46. plugin: convert_tokens
  47. source: user_mail_register_admin_created_subject
  48. 'register_admin_created/body':
  49. plugin: convert_tokens
  50. source: user_mail_register_admin_created_body
  51. 'register_no_approval_required/subject':
  52. plugin: convert_tokens
  53. source: user_mail_register_no_approval_required_subject
  54. 'register_no_approval_required/body':
  55. plugin: convert_tokens
  56. source: user_mail_register_no_approval_required_body
  57. 'register_pending_approval/subject':
  58. plugin: convert_tokens
  59. source: user_mail_register_pending_approval_subject
  60. 'register_pending_approval/body':
  61. plugin: convert_tokens
  62. source: user_mail_register_pending_approval_body
  63. 'status_blocked/subject':
  64. plugin: convert_tokens
  65. source: user_mail_status_blocked_subject
  66. 'status_blocked/body':
  67. plugin: convert_tokens
  68. source: user_mail_status_blocked_body
  69. destination:
  70. plugin: config
  71. config_name: user.mail
  72. translations: true
  73. migration_dependencies:
  74. required:
  75. - d6_user_mail
  76. - language