You are here

function feed_import_base_entity_delete in Feed Import 8

Same name and namespace in other branches
  1. 7.3 feed_import_base/feed_import_base.module \feed_import_base_entity_delete()

Implements hook_entity_delete().

File

feed_import_base/feed_import_base.module, line 564
Basic settings for feed import base module

Code

function feed_import_base_entity_delete($entity, $type) {
  return;
  $e = FeedImport::getEntityInfo($type);
  if (isset($entity->{$e->idKey})) {
    $id = $entity->{$e->idKey};
    $id && is_numeric($id) && FeedImport::addDeletedEntity($type, $id);
  }
}