function gm3_field_feeds_set_target_text in Google Maps API V3 7
Callback to set the value for a GM3 field.
1 string reference to 'gm3_field_feeds_set_target_text'
- gm3_field_feeds_processor_targets_alter in gm3_field/
gm3_field.module - Implements hook_feeds_processor_targets_alter().
File
- gm3_field/
gm3_field.module, line 264
Code
function gm3_field_feeds_set_target_text($source, $entity, $target, $value) {
$info = field_info_field($target);
$field = isset($entity->{$target}) ? $entity->{$target} : array();
$field['und'][] = $value;
$entity->{$target} = $field;
}