function bat_unit_bat_event_target_entity_types in Booking and Availability Management Tools for Drupal 8
Same name and namespace in other branches
- 7 modules/bat_unit/bat_unit.module \bat_unit_bat_event_target_entity_types()
Implements hook_bat_event_target_entity_types().
Register BAT Unit as a BAT event target entity type.
File
- modules/
bat_unit/ bat_unit.module, line 152 - Manage units - Units are things that can be booked for some period of time. (e.g. rooms - but also villas bungalows, cars, drills, you-get-the-idea etc.)
Code
function bat_unit_bat_event_target_entity_types() {
return [
'bat_unit',
];
}