You are here

function bat_type_delete in Booking and Availability Management Tools for Drupal 7

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

Deletes a Bat Type.

Parameters

BatType $type: The BatType object that represents the type to delete.

1 call to bat_type_delete()
bat_type_delete_form_submit in modules/bat_unit/bat_type.admin.inc
Submit callback for type_delete_form.

File

modules/bat_unit/bat_unit.module, line 1559

Code

function bat_type_delete(BatType $type) {
  $type
    ->delete();
}