function commerce_pricelist_item_delete_multiple in Commerce Pricelist 7
Use the controller to delete the entity.
3 calls to commerce_pricelist_item_delete_multiple()
- commerce_pricelist_entity_delete in ./
commerce_pricelist.module - Delete pricelist items when a pricelist is deleted.
- commerce_pricelist_item_delete in ./
commerce_pricelist.module - Use the controller to delete the entity.
- FeedsCommercePricelistItemProcessor::entityDeleteMultiple in commerce_pricelist_feeds/
plugins/ FeedsCommercePricelistItemProcessor.inc - Delete multiple user accounts.
File
- ./
commerce_pricelist.module, line 717 - Implements the basic functionality required for price lists
Code
function commerce_pricelist_item_delete_multiple($ids) {
$result = entity_delete_multiple('commerce_pricelist_item', $ids);
cache_clear_all('commerce_pricelist', 'cache', TRUE);
return $result;
}