You are here

function bat_event_type_create 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_type_create()

Create a event object.

File

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

Code

function bat_event_type_create($values = array()) {
  return entity_get_controller('bat_event_type')
    ->create($values);
}