d6_user_settings_translation.yml
Same filename in other branches
File
-
core/
modules/ config_translation/ migrations/ d6_user_settings_translation.yml
View source
- id: d6_user_settings_translation
- label: User configuration
- migration_tags:
- - Drupal 6
- - Configuration
- - Multilingual
- source:
- plugin: d6_variable_translation
- variables:
- - user_mail_status_blocked_notify
- - user_mail_status_activated_notify
- - user_email_verification
- - user_register
- - anonymous
- source_module: i18n
- process:
- langcode: language
- 'notify/status_blocked': user_mail_status_blocked_notify
- 'notify/status_activated': user_mail_status_activated_notify
- verify_mail: user_email_verification
- register:
- plugin: static_map
- source: user_register
- default_value: visitors_admin_approval
- map:
- 2: visitors_admin_approval
- 1: visitors
- 0: admin_only
- anonymous: anonymous
- destination:
- plugin: config
- config_name: user.settings
- translations: true
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.