You are here

function bat_event_type_delete in Booking and Availability Management Tools for Drupal 7

Same name and namespace in other branches
  1. 8 modules/bat_event/bat_event.module \bat_event_type_delete()

Deletes a event type from the db.

1 call to bat_event_type_delete()
bat_booking_example_delete_availability_event_type in modules/bat_booking/bat_booking_example/bat_booking_example.install
Delete the "Availability Example" event type.

File

modules/bat_event/bat_event.module, line 937
Manage Events - Events store the EventValue of a Unit over a period of time.

Code

function bat_event_type_delete(BatEventType $type) {
  $type
    ->delete();
}