function _biblio_feeds_set__contrib_target in Bibliography Module 7
Same name and namespace in other branches
- 7.2 includes/biblio.feeds.inc \_biblio_feeds_set__contrib_target()
1 string reference to '_biblio_feeds_set__contrib_target'
File
- includes/
biblio.feeds.inc, line 107
Code
function _biblio_feeds_set__contrib_target($source, $entity, $target, $value) {
if (is_string($value)) {
$value = explode('||', $value);
}
foreach ($value as $author) {
$entity->biblio_contributors[] = array(
'name' => $author,
'auth_category' => 1,
);
}
}