You are here

function bat_unit_page_title in Booking and Availability Management Tools for Drupal 7

Menu title callback for showing individual entities.

1 string reference to 'bat_unit_page_title'
BatUnitUIController::hook_menu in modules/bat_unit/bat_unit.admin.inc
Overrides hook_menu() defaults.

File

modules/bat_unit/bat_unit.module, line 910

Code

function bat_unit_page_title(BatUnit $unit) {
  return $unit->name;
}