You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.2 KiB

2 years ago
uuid: 93b91752-7f83-418b-ac19-7128c5e5f0e2
langcode: en
status: true
dependencies: { }
id: upgrade_d7_user_settings
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Configuration
migration_group: migrate_drupal_7
label: 'User 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:
-
plugin: get
source: user_mail_status_blocked_notify
notify/status_activated:
-
plugin: get
source: user_mail_status_activated_notify
verify_mail:
-
plugin: get
source: 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:
-
plugin: get
source: anonymous
destination:
plugin: config
config_name: user.settings
migration_dependencies:
required: { }
optional: { }