function rooms_unit_delete_multiple in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Deletes multiple units.
Parameters
array $unit_ids: An array of unit IDs.
1 call to rooms_unit_delete_multiple()
- MigrateDestinationRoomsUnit::bulkRollback in modules/
rooms_unit/ rooms_unit.migrate.inc - Delete a batch of room units at once.
1 string reference to 'rooms_unit_delete_multiple'
- MigrateDestinationRoomsUnit::bulkRollback in modules/
rooms_unit/ rooms_unit.migrate.inc - Delete a batch of room units at once.
File
- modules/
rooms_unit/ rooms_unit.module, line 452 - Manage units - Units are things that can be booked on a nightly basis (e.g. rooms - but also villas bungalows, etc).
Code
function rooms_unit_delete_multiple(array $unit_ids) {
entity_get_controller('rooms_unit')
->delete($unit_ids);
}