You are here

function merci_line_item_delete_multiple in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Deletes multiple line items by ID.

Parameters

$line_item_ids: An array of line item IDs to delete.

Return value

TRUE on success, FALSE otherwise.

1 call to merci_line_item_delete_multiple()
merci_line_item_delete in merci_line_item/merci_line_item.module
Deletes a line item by ID.

File

merci_line_item/merci_line_item.module, line 597
Defines the core MERCI line item entity and API functions interact with line items.

Code

function merci_line_item_delete_multiple($line_item_ids) {
  return entity_get_controller('merci_line_item')
    ->delete($line_item_ids);
}