You are here

function bat_unit_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_unit_save()

Saves a unit to the database.

Parameters

BatUnit $unit: The Unit object.

File

modules/bat_unit/bat_unit.module, line 867

Code

function bat_unit_save(BatUnit $unit) {
  return $unit
    ->save();
}