You are here

function bat_event_save in Booking and Availability Management Tools for Drupal 7

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

Saves a event to the database.

Parameters

BatEvent $event: The Event object.

File

modules/bat_event/bat_event.module, line 916
Manage Events - Events store the EventValue of a Unit over a period of time.

Code

function bat_event_save(BatEvent $event) {
  return $event
    ->save();
}