function profile_migrate_complete_user in Migrate 6
Implementation of hook_migrate_complete_user().
File
- modules/
profile.migrate.inc, line 52 - Implementation of profile destination handling
Code
function profile_migrate_complete_user($account, $tblinfo, $row) {
if (isset($row->profile_fields) && is_array($row->profile_fields)) {
foreach ($row->profile_fields as $category => $fields) {
profile_save_profile($fields, $account, $category);
}
}
}