function feeds_entity_delete in Feeds 8.2
Same name and namespace in other branches
- 7.2 feeds.module \feeds_entity_delete()
Implements hook_entity_delete().
Related topics
File
- ./
feeds.module, line 520 - Feeds - basic API functions and hook implementations.
Code
function feeds_entity_delete($entity) {
// // Delete any imported items produced by the source.
db_delete('feeds_item')
->condition('entity_type', $entity
->entityType())
->condition('entity_id', $entity
->id())
->execute();
}