function bat_unit_menu_alter in Booking and Availability Management Tools for Drupal 7
Implements hook_menu_alter().
File
- modules/
bat_unit/ bat_unit.module, line 45
Code
function bat_unit_menu_alter(&$items) {
$items['admin/bat/config/types/manage/%bat_type/units']['access callback'] = 'bat_type_access';
$items['admin/bat/config/types/manage/%bat_type/units']['access arguments'] = array(
'update',
5,
);
}