You are here

public function RoomsUnit::__construct in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Overrides Entity::__construct

File

modules/rooms_unit/rooms_unit.module, line 730
Manage units - Units are things that can be booked on a nightly basis (e.g. rooms - but also villas bungalows, etc).

Class

RoomsUnit
The class used for room entities

Code

public function __construct($values = array()) {
  parent::__construct($values, 'rooms_unit');
}