d6_user_settings.yml

Same filename in other branches
  1. 9 core/modules/user/migrations/d6_user_settings.yml
  2. 8.9.x core/modules/user/migrations/d6_user_settings.yml
  3. 10 core/modules/user/migrations/d6_user_settings.yml
core/modules/user/migrations/d6_user_settings.yml

File

core/modules/user/migrations/d6_user_settings.yml

View source
  1. id: d6_user_settings
  2. label: User configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. source:
  7. plugin: variable
  8. variables:
  9. - user_mail_status_blocked_notify
  10. - user_mail_status_activated_notify
  11. - user_email_verification
  12. - user_register
  13. - anonymous
  14. source_module: user
  15. process:
  16. 'notify/status_blocked': user_mail_status_blocked_notify
  17. 'notify/status_activated': user_mail_status_activated_notify
  18. verify_mail: user_email_verification
  19. # @see core/modules/user/config/install/user.settings.yml
  20. # Default values
  21. cancel_method:
  22. plugin: default_value
  23. default_value: user_cancel_block
  24. password_reset_timeout:
  25. plugin: default_value
  26. default_value: 86400
  27. password_strength:
  28. plugin: default_value
  29. default_value: true
  30. 'notify/cancel_confirm':
  31. plugin: default_value
  32. default_value: true
  33. 'notify/password_reset':
  34. plugin: default_value
  35. default_value: true
  36. 'notify/status_canceled':
  37. plugin: default_value
  38. default_value: false
  39. 'notify/register_admin_created':
  40. plugin: default_value
  41. default_value: true
  42. 'notify/register_no_approval_required':
  43. plugin: default_value
  44. default_value: true
  45. 'notify/register_pending_approval':
  46. plugin: default_value
  47. default_value: true
  48. register:
  49. plugin: static_map
  50. source: user_register
  51. default_value: visitors_admin_approval
  52. map:
  53. 2: visitors_admin_approval
  54. 1: visitors
  55. 0: admin_only
  56. anonymous: anonymous
  57. destination:
  58. plugin: config
  59. config_name: user.settings

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