public function RoomsUnitTypeController::__construct in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Overridden.
Allows specifying a name key serving as uniform identifier for this entity type while still internally we are using numeric identifieres.
Overrides EntityAPIControllerExportable::__construct
File
- modules/
rooms_unit/ rooms_unit.module, line 850 - Manage units - Units are things that can be booked on a nightly basis (e.g. rooms - but also villas bungalows, etc).
Class
- RoomsUnitTypeController
- The Controller for Room entities.
Code
public function __construct($entityType) {
parent::__construct($entityType);
}