user profile contact_op ok
This commit is contained in:
parent
0e4c06a73a
commit
45f44e0623
|
@ -31,6 +31,7 @@ process:
|
||||||
plugin: migration_lookup
|
plugin: migration_lookup
|
||||||
migration: d7_users
|
migration: d7_users
|
||||||
source: uid
|
source: uid
|
||||||
|
|
||||||
field_title: field_private_name_title
|
field_title: field_private_name_title
|
||||||
field_first_name: field_first_name
|
field_first_name: field_first_name
|
||||||
field_name: field_name
|
field_name: field_name
|
||||||
|
@ -87,6 +88,8 @@ process:
|
||||||
process:
|
process:
|
||||||
value: email
|
value: email
|
||||||
|
|
||||||
|
field_memo: field_memo
|
||||||
|
|
||||||
migration_dependencies:
|
migration_dependencies:
|
||||||
required:
|
required:
|
||||||
- d7_users
|
- d7_users
|
||||||
|
|
|
@ -102,7 +102,9 @@ class D7UserProfile extends FieldableEntity {
|
||||||
|
|
||||||
// Get Field API field values.
|
// Get Field API field values.
|
||||||
foreach ($this->getFields('profile2', $type) as $field_name => $field) {
|
foreach ($this->getFields('profile2', $type) as $field_name => $field) {
|
||||||
$row->setSourceProperty($field_name, $this->getFieldValues('profile2', $field_name, $pid));
|
// drush_print($field_name);
|
||||||
|
$value = $this->getFieldValues('profile2', $field_name, $pid);
|
||||||
|
$row->setSourceProperty($field_name, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
// merge : field_administrative_email & field_private_email into field_email
|
// merge : field_administrative_email & field_private_email into field_email
|
||||||
|
|
Loading…
Reference in New Issue