Add the bio and the gpg field in the users.
Also, the user migration was updated to migrate the data of these fields.
This commit is contained in:
parent
f9db6433cd
commit
14e829fd66
9 changed files with 198 additions and 33 deletions
|
@ -15,6 +15,7 @@ process:
|
|||
status: status
|
||||
timezone: timezone
|
||||
init: init
|
||||
field_bio: field_bio
|
||||
roles:
|
||||
-
|
||||
plugin: static_map
|
||||
|
@ -30,3 +31,29 @@ process:
|
|||
plugin: role_generate
|
||||
entity_type: user_role
|
||||
value_key: id
|
||||
field_gpg_public_key/target_id:
|
||||
-
|
||||
plugin: extract
|
||||
source: field_gpg_public_key
|
||||
default: ''
|
||||
index:
|
||||
- 0
|
||||
- fid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: agaric_file
|
||||
user_picture:
|
||||
-
|
||||
plugin: default_value
|
||||
source: picture
|
||||
default_value: null
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: agaric_file
|
||||
migration_dependencies:
|
||||
optional:
|
||||
- agaric_file
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue