d6_user_settings.yml in Drupal 8
Same filename and directory in other branches
core/modules/user/migrations/d6_user_settings.yml
File
core/modules/user/migrations/d6_user_settings.ymlView source
- id: d6_user_settings
- label: User configuration
- migration_tags:
- - Drupal 6
- - Configuration
- source:
- plugin: variable
- variables:
- - user_mail_status_blocked_notify
- - user_mail_status_activated_notify
- - user_email_verification
- - user_register
- - anonymous
- source_module: user
- process:
- '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