You are here

function bat_event_uri in Booking and Availability Management Tools for Drupal 8

Same name and namespace in other branches
  1. 7 modules/bat_event/bat_event.module \bat_event_uri()

URI callback for events.

File

modules/bat_event/bat_event.module, line 449
Manage Events - Events store the EventValue of a Unit over a period of time.

Code

function bat_event_uri(Event $event) {
  return [
    'path' => 'event/' . $event->event_id,
  ];
}