d7_user_mail_translation.yml in Drupal 9
Same filename and directory in other branches
core/modules/config_translation/migrations/d7_user_mail_translation.yml
File
core/modules/config_translation/migrations/d7_user_mail_translation.ymlView source
- id: d7_user_mail_translation
- label: User mail configuration translation
- migration_tags:
- - Drupal 7
- - Configuration
- - Multilingual
- source:
- plugin: d7_variable_translation
- variables:
- - user_mail_cancel_confirm_subject
- - user_mail_cancel_confirm_body
- - user_mail_password_reset_subject
- - user_mail_password_reset_body
- - user_mail_register_admin_created_subject
- - user_mail_register_admin_created_body
- - user_mail_register_no_approval_required_subject
- - user_mail_register_no_approval_required_body
- - user_mail_register_pending_approval_subject
- - user_mail_register_pending_approval_body
- - user_mail_status_activated_subject
- - user_mail_status_activated_body
- - user_mail_status_blocked_subject
- - user_mail_status_blocked_body
- - user_mail_status_canceled_subject
- - user_mail_status_canceled_body
- process:
- langcode: language
- 'cancel_confirm/subject':
- plugin: convert_tokens
- source: user_mail_cancel_confirm_subject
- 'cancel_confirm/body':
- plugin: convert_tokens
- source: user_mail_cancel_confirm_body
- 'password_reset/subject':
- plugin: convert_tokens
- source: user_mail_password_reset_subject
- 'password_reset/body':
- plugin: convert_tokens
- source: user_mail_password_reset_body
- 'register_admin_created/subject':
- plugin: convert_tokens
- source: user_mail_register_admin_created_subject
- 'register_admin_created/body':
- plugin: convert_tokens
- source: user_mail_register_admin_created_body
- 'register_no_approval_required/subject':
- plugin: convert_tokens
- source: user_mail_register_no_approval_required_subject
- 'register_no_approval_required/body':
- plugin: convert_tokens
- source: user_mail_register_no_approval_required_body
- 'register_pending_approval/subject':
- plugin: convert_tokens
- source: user_mail_register_pending_approval_subject
- 'register_pending_approval/body':
- plugin: convert_tokens
- source: user_mail_register_pending_approval_body
- 'status_activated/subject':
- plugin: convert_tokens
- source: user_mail_status_activated_subject
- 'status_activated/body':
- plugin: convert_tokens
- source: user_mail_status_activated_body
- 'status_blocked/subject':
- plugin: convert_tokens
- source: user_mail_status_blocked_subject
- 'status_blocked/body':
- plugin: convert_tokens
- source: user_mail_status_blocked_body
- 'status_canceled/subject':
- plugin: convert_tokens
- source: user_mail_status_canceled_subject
- 'status_canceled/body':
- plugin: convert_tokens
- source: user_mail_status_canceled_body
- destination:
- plugin: config
- config_name: user.mail
- translations: true
- migration_dependencies:
- required:
- - language
- - d7_user_mail