public function RoomsUnitType::__construct in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Overrides Entity::__construct
File
- modules/
rooms_unit/ rooms_unit.module, line 769 - Manage units - Units are things that can be booked on a nightly basis (e.g. rooms - but also villas bungalows, etc).
Class
- RoomsUnitType
- The class used for room type entities
Code
public function __construct($values = array()) {
parent::__construct($values, 'rooms_unit_type');
}