You are here

function commerce_pricelist_item_delete in Commerce Pricelist 7

Use the controller to delete the entity.

2 calls to commerce_pricelist_item_delete()
CommercePricelistTestCaseSimpleProduct::testCommercePricelistItemAdd in tests/commerce_pricelist.test
Test if the price of a product changes when a price list item is added.
commerce_pricelist_item_edit_delete in includes/commerce_pricelist.admin.inc
Form deletion handler.

File

./commerce_pricelist.module, line 710
Implements the basic functionality required for price lists

Code

function commerce_pricelist_item_delete($id) {
  return commerce_pricelist_item_delete_multiple(array(
    $id,
  ));
}