You are here

function bat_booking_type_save 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_save()

Saves a booking type to the db.

Parameters

BatBookingType $booking_type: The booking type to save.

File

modules/bat_booking/bat_booking.module, line 445

Code

function bat_booking_type_save(BatBookingType $booking_type) {
  $booking_type
    ->save();
}