public function RoomsBookingController::buildContent in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Overriding the buildContent function to add entity specific fields.
Overrides EntityAPIController::buildContent
File
- modules/
rooms_booking/ rooms_booking.module, line 1179 - Manage Bookings - Bookings are tied to a customer profile and possible a Unit ID and Order ID.
Class
- RoomsBookingController
- The Controller for RoomsBooking entities.
Code
public function buildContent($entity, $view_mode = 'full', $langcode = NULL, $content = array()) {
$content = parent::buildContent($entity, $view_mode, $langcode, $content);
return $content;
}