function bat_booking_type_create 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_create()
Create a booking type object.
1 call to bat_booking_type_create()
- bat_booking_create_standard_booking_type in modules/
bat_booking/ bat_booking.install - Create "Standard" booking type.
File
- modules/
bat_booking/ bat_booking.module, line 402
Code
function bat_booking_type_create($values = array()) {
return entity_get_controller('bat_booking_type')
->create($values);
}