You are here

public function BatBookingController::create in Booking and Availability Management Tools for Drupal 7

Implements EntityAPIControllerInterface.

Overrides EntityAPIController::create

File

modules/bat_booking/bat_booking.module, line 314

Class

BatBookingController
The Controller for BatBooking entities.

Code

public function create(array $values = array()) {
  $values += array(
    'booking_id' => '',
    'is_new' => TRUE,
    'data' => '',
    'label' => '',
    'created' => '',
  );
  $booking = parent::create($values);
  return $booking;
}