You are here

public static function FeedImport::removeEntityHashes in Feed Import 8

Removes entity hashes.

File

feed_import_base/src/FeedImport.php, line 512

Class

FeedImport
This class provides helper functions for feed import.

Namespace

Drupal\feed_import_base

Code

public static function removeEntityHashes($entities = NULL) {
  if ($entities == NULL) {
    $entities =& static::$deletedEntities;
  }
  foreach (static::getHashManagers() as $hm) {
    array_walk($entities, array(
      $hm,
      'deleteEntities',
    ));
  }
  $entities = NULL;
}