function profile_feeds_set_target in Feeds 7.2
Same name and namespace in other branches
- 6 mappers/profile.inc \profile_feeds_set_target()
- 7 mappers/profile.inc \profile_feeds_set_target()
Set the user profile target after import.
1 string reference to 'profile_feeds_set_target'
- profile_feeds_processor_targets in mappers/
profile.inc - Implements hook_feeds_processor_targets().
File
- mappers/
profile.inc, line 36 - On behalf implementation of Feeds mapping API for profile.module.
Code
function profile_feeds_set_target(FeedsSource $source, $entity, $target, array $values) {
$entity->{$target} = reset($values);
}