user profile member email ok
This commit is contained in:
parent
beee434e21
commit
0e4c06a73a
|
@ -81,21 +81,11 @@ process:
|
|||
title: title
|
||||
options: attributes
|
||||
|
||||
|
||||
# not verified
|
||||
|
||||
field_email: field_email
|
||||
# field_email
|
||||
# plugin: merge
|
||||
# source:
|
||||
# - field_administrative_email
|
||||
# - field_private_email
|
||||
|
||||
# field_name:
|
||||
# plugin: merge
|
||||
# source:
|
||||
# - field_name
|
||||
# - field_private_name
|
||||
field_email:
|
||||
plugin: iterator
|
||||
source: field_email
|
||||
process:
|
||||
value: email
|
||||
|
||||
migration_dependencies:
|
||||
required:
|
||||
|
|
|
@ -109,11 +109,11 @@ class D7UserProfile extends FieldableEntity {
|
|||
// merge : field_private_name & field_name into field_name
|
||||
switch ($type) {
|
||||
case 'contact_operationnel':
|
||||
$row->setSourceProperty('field_email', $row->getSourceProperty('field_administrative_email'));
|
||||
$row->setSourceProperty('field_email', $row->getSourceProperty('field_private_email'));
|
||||
$row->setSourceProperty('field_name', $row->getSourceProperty('field_private_name'));
|
||||
break;
|
||||
case 'adherent':
|
||||
$row->setSourceProperty('field_email', $row->getSourceProperty('field_private_email'));
|
||||
$row->setSourceProperty('field_email', $row->getSourceProperty('field_administrative_email'));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue