You are here

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

Given an array of events removes events from the calendar setting the value to the default.

Parameters

BookingEventInterface[] $events: The events to remove from the database - an array of Booking Events

1 method overrides UnitCalendarInterface::removeEvents()
UnitCalendar::removeEvents in modules/rooms_availability/includes/rooms_availability.unit_calendar.inc
Given an array of events removes events from the calendar setting the value to the default.

File

modules/rooms_availability/includes/rooms_availability.unit_calendar_interface.inc, line 74
Handles querying and updating the availability information relative to a single bookable unit.

Class

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

Code

public function removeEvents($events);