You are here

d6_user_settings_translation.yml in Drupal 9

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
  34. migration_dependencies:
  35. required:
  36. - d6_user_settings
  37. - language