You are here

function bat_type_group_delete in Booking and Availability Management Tools for Drupal 8

Deletes a type group.

Parameters

\Drupal\bat\Entity\TypeGroup $group: The TypeGroup object that represents the group to delete.

File

./bat.module, line 554
Contains bat.module..

Code

function bat_type_group_delete(TypeGroup $group) {
  $group
    ->delete();
}