public static function FeedImportSQLHashes::deleteEntities in Feed Import 8
Deletes entities by type and id
Parameters
int|array $ids: Entity ids
string $entity_type: Entity type
Overrides FeedImportStaticHashManager::deleteEntities
File
- feed_import_base/
src/ FeedImportSQLHashes.php, line 243
Class
- FeedImportSQLHashes
- This class implements SQL hash storage
Namespace
Drupal\feed_import_baseCode
public static function deleteEntities($ids, $entity_type) {
db_delete('feed_import_hashes')
->condition('entity', $entity_type)
->condition('entity_id', $ids)
->execute();
}