public static function FeedImport::addDeletedEntity in Feed Import 8
Schedule a deleted entity to be removed from hashes.
Parameters
string $entity_type: Entity type
int $id: Entity id
1 call to FeedImport::addDeletedEntity()
- feed_import_base_entity_delete in feed_import_base/feed_import_base.module 
- Implements hook_entity_delete().
File
- feed_import_base/src/ FeedImport.php, line 500 
Class
- FeedImport
- This class provides helper functions for feed import.
Namespace
Drupal\feed_import_baseCode
public static function addDeletedEntity($entity_type, $id) {
  static $unregistered = TRUE;
  if ($unregistered) {
    $unregistered = FALSE;
    register_shutdown_function(array(
      __CLASS__,
      'removeEntityHashes',
    ));
  }
  static::$deletedEntities[$entity_type][] = $id;
}