public function BatBookingTypeController::create in Booking and Availability Management Tools for Drupal 7
Implements EntityAPIControllerInterface.
Overrides EntityAPIController::create
File
- modules/
bat_booking/ bat_booking.module, line 371
Class
- BatBookingTypeController
- The Controller for BatBookingType entities.
Code
public function create(array $values = array()) {
$values += array(
'id' => '',
'is_new' => TRUE,
'data' => '',
);
$booking_type = parent::create($values);
return $booking_type;
}