function bat_booking_type_delete in Booking and Availability Management Tools for Drupal 7
Same name and namespace in other branches
- 8 modules/bat_booking/bat_booking.module \bat_booking_type_delete()
Deletes a booking type from the db.
File
- modules/
bat_booking/ bat_booking.module, line 452
Code
function bat_booking_type_delete(BatBookingType $bundle) {
$bundle
->delete();
}