You are here

function bat_unit_uri 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_uri()

URI callback for units.

File

modules/bat_unit/bat_unit.module, line 901

Code

function bat_unit_uri(BatUnit $unit) {
  return array(
    'path' => 'unit/' . $unit->unit_id,
  );
}