You are here

function _biblio_feeds_set__contrib_target in Bibliography Module 7

Same name and namespace in other branches
  1. 7.2 includes/biblio.feeds.inc \_biblio_feeds_set__contrib_target()
1 string reference to '_biblio_feeds_set__contrib_target'
_biblio_feeds_processor_targets_alter in includes/biblio.feeds.inc

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,
    );
  }
}