abstract public function FeedImportMergeField::merge in Feed Import 7.3
Merge the new and current field values. The merge should be set in $current ref. variable
Parameters
array $current: Current field values
array $new: New field values
array $field: Field info cardinality - field cardinality compare - compare function for field value
Return value
bool True if $current was changed
4 methods override FeedImportMergeField::merge()
- FeedImportMergeDuplicates::merge in feed_import_base/
inc/ feed_import_merge.inc - Merge the new and current field values. The merge should be set in $current ref. variable
- FeedImportMergeNoDuplicates::merge in feed_import_base/
inc/ feed_import_merge.inc - Merge the new and current field values. The merge should be set in $current ref. variable
- FeedImportMergeOverwrite::merge in feed_import_base/
inc/ feed_import_merge.inc - Merge the new and current field values. The merge should be set in $current ref. variable
- FeedImportMergeOverwriteFast::merge in feed_import_base/
inc/ feed_import_merge.inc - Merge the new and current field values. The merge should be set in $current ref. variable
File
- feed_import_base/
inc/ feed_import_abstract.inc, line 531 - This file contains abstract classes and interfaces for feed import.
Class
- FeedImportMergeField
- Abstract class that helps merging fields on update.
Code
public abstract function merge(array &$current, array &$new, array &$field);