You are here

function rooms_booking_add_page in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Page to add Rooms.

@todo Pass this through a proper theme function

1 string reference to 'rooms_booking_add_page'
RoomsBookingUIController::hook_menu in modules/rooms_booking/rooms_booking.admin.inc
Overrides hook_menu() defaults.

File

modules/rooms_booking/rooms_booking.admin.inc, line 1412
Rooms editing UI.

Code

function rooms_booking_add_page() {
  $controller = entity_ui_controller('rooms_booking');
  return $controller
    ->addPage();
}