FeedImportMergeOverwriteFast.php in Feed Import 8
Namespace
Drupal\feed_import_baseFile
feed_import_base/src/FeedImportMergeOverwriteFast.phpView source
<?php
namespace Drupal\feed_import_base;
/**
* This class just overwrites values without any checks.
* Does not overwrites values if are missing from source.
*/
class FeedImportMergeOverwriteFast extends FeedImportMergeField {
/**
* {@inheritdoc}
*/
public function merge(array &$current, array &$new, array &$field) {
$current = $new;
return TRUE;
}
}
Classes
Name![]() |
Description |
---|---|
FeedImportMergeOverwriteFast | This class just overwrites values without any checks. Does not overwrites values if are missing from source. |