d7_user_settings.yml

Same filename in other branches
  1. 9 core/modules/user/migrations/d7_user_settings.yml
  2. 11.x core/modules/user/migrations/d7_user_settings.yml
core/modules/user/migrations/d7_user_settings.yml

File

core/modules/user/migrations/d7_user_settings.yml

View source
  1. id: d7_user_settings
  2. label: User configuration
  3. migration_tags:
  4. - Drupal 7
  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. register:
  20. plugin: static_map
  21. source: user_register
  22. default_value: visitors_admin_approval
  23. map:
  24. 2: visitors_admin_approval
  25. 1: visitors
  26. 0: admin_only
  27. anonymous: anonymous
  28. destination:
  29. plugin: config
  30. config_name: user.settings

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