function bat_event_series_delete in Booking and Availability Management Tools for Drupal 8
Deletes a event.
Parameters
\Drupal\bat_event_series\Entity\EventSeries $event: The Event object that represents the event to delete
File
- modules/
bat_event_series/ bat_event_series.module, line 247
Code
function bat_event_series_delete(EventSeries $event) {
$event
->delete();
}