You are here

function bat_type_save in Booking and Availability Management Tools for Drupal 7

Same name and namespace in other branches
  1. 8 modules/bat_unit/bat_unit.module \bat_type_save()

Saves a Bat Type to the database.

Parameters

BatType $type: The type object.

File

modules/bat_unit/bat_unit.module, line 1589

Code

function bat_type_save(BatType $type) {
  return $type
    ->save();
}