You are here

function bat_booking_type_delete in Booking and Availability Management Tools for Drupal 7

Same name and namespace in other branches
  1. 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();
}