function bat_event_type_save in Booking and Availability Management Tools for Drupal 8
Same name and namespace in other branches
- 7 modules/bat_event/bat_event.module \bat_event_type_save()
Saves a event type to the db.
1 call to bat_event_type_save()
- bat_booking_example_create_availability_event_type in modules/
bat_booking/ bat_booking_example/ bat_booking_example.install - Create the "Availability Example" event type.
File
- modules/
bat_event/ bat_event.module, line 435 - Manage Events - Events store the EventValue of a Unit over a period of time.
Code
function bat_event_type_save(EventType $type) {
$type
->save();
}