You are here

function geofield_set_target_combined in Geofield 7.2

Same name and namespace in other branches
  1. 7 geofield.feeds.inc \geofield_set_target_combined()

Feeds processor target callback from the already combined source.

Parameters

$source: Field mapper source settings.

$entity: An entity object, for instance a node object.

$target: A string identifying the target on the node.

$values: The values to populate the target with.

See also

geofield_feeds_parser_sources_alter()

1 string reference to 'geofield_set_target_combined'
geofield_feeds_processor_targets_alter in ./geofield.feeds.inc
Implements hook_feeds_node_processor_targets_alter().

File

./geofield.feeds.inc, line 174
Provides integration with Feeds module (http://drupal.org/project/feeds)

Code

function geofield_set_target_combined($source, $entity, $target, $values) {
  $field_name = substr($target, 0, strpos($target, ':'));
  _geofield_set_target($source, $entity, $field_name, $values);
}