d7_user_mail_translation.yml

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

File

core/modules/config_translation/migrations/d7_user_mail_translation.yml

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

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