You are here

function bat_booking_type_create in Booking and Availability Management Tools for Drupal 8

Same name and namespace in other branches
  1. 7 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 51

Code

function bat_booking_type_create($values = []) {
  return BookingBundle::create($values);
}