You are here

public function BatEventController::delete in Booking and Availability Management Tools for Drupal 7

Parameters

array $ids:

Overrides EntityAPIController::delete

File

modules/bat_event/bat_event.module, line 1445
Manage Events - Events store the EventValue of a Unit over a period of time.

Class

BatEventController
The Controller for BatEvent entities.

Code

public function delete($ids, DatabaseTransaction $transaction = NULL) {
  foreach ($ids as $id) {
    $event = bat_event_load($id);
    $this
      ->deleteEvent($event);
  }
  parent::delete($ids);
}