d6_user_settings_translation.yml

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

File

core/modules/config_translation/migrations/d6_user_settings_translation.yml

View source
  1. id: d6_user_settings_translation
  2. label: User configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. - Multilingual
  7. source:
  8. plugin: d6_variable_translation
  9. variables:
  10. - user_mail_status_blocked_notify
  11. - user_mail_status_activated_notify
  12. - user_email_verification
  13. - user_register
  14. - anonymous
  15. source_module: i18n
  16. process:
  17. langcode: language
  18. 'notify/status_blocked': user_mail_status_blocked_notify
  19. 'notify/status_activated': user_mail_status_activated_notify
  20. verify_mail: user_email_verification
  21. register:
  22. plugin: static_map
  23. source: user_register
  24. default_value: visitors_admin_approval
  25. map:
  26. 2: visitors_admin_approval
  27. 1: visitors
  28. 0: admin_only
  29. anonymous: anonymous
  30. destination:
  31. plugin: config
  32. config_name: user.settings
  33. translations: true

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