function bat_unit_delete_multiple in Booking and Availability Management Tools for Drupal 7
Same name and namespace in other branches
- 8 modules/bat_unit/bat_unit.module \bat_unit_delete_multiple()
Deletes multiple units.
Parameters
array $unit_ids: An array of unit IDs.
File
- modules/
bat_unit/ bat_unit.module, line 847
Code
function bat_unit_delete_multiple(array $unit_ids) {
entity_get_controller('bat_unit')
->delete($unit_ids);
}