You are here

class FeedImportMergeOverwriteFast in Feed Import 7.3

This class just overwrites values without any checks. Does not overwrites values if are missing from source.

Hierarchy

Expanded class hierarchy of FeedImportMergeOverwriteFast

1 string reference to 'FeedImportMergeOverwriteFast'
feed_import_base_feed_import_field_merge_classes in feed_import_base/feed_import_base.module
Implements hook_feed_import_field_merge_classes().

File

feed_import_base/inc/feed_import_merge.inc, line 129
This file contains Feed Import field merge methods.

View source
class FeedImportMergeOverwriteFast extends FeedImportMergeField {

  /**
   * {@inheritdoc}
   */
  public function merge(array &$current, array &$new, array &$field) {
    $current = $new;
    return TRUE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FeedImportMergeField::overwriteEmpty public function Remove field if is missing from source. 1
FeedImportMergeOverwriteFast::merge public function Merge the new and current field values. The merge should be set in $current ref. variable Overrides FeedImportMergeField::merge