You are here

function bat_unit_unit_bundle_new in Booking and Availability Management Tools for Drupal 7

Returns an initialized bat bundle array. This is here to help other modules easily and consistently add BAT unit bundles.

File

modules/bat_unit/bat_unit.module, line 983

Code

function bat_unit_unit_bundle_new() {
  return array(
    'type' => '',
    'label' => '',
    'weight' => '0',
    'data' => array(
      'hourly_availability' => 0,
    ),
    'bat_opening_time' => '',
  );
}