You are here

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

Returns the default state.

Return value

string The calendar default state.

Overrides UnitCalendarInterface::getDefaultState

File

modules/rooms_availability/includes/rooms_availability.unit_calendar.inc, line 429
Class UnitCalendar Handles querying and updating the availability information relative to a single bookable unit.

Class

UnitCalendar
@file Class UnitCalendar Handles querying and updating the availability information relative to a single bookable unit.

Code

public function getDefaultState() {
  return $this->default_state;
}