You are here

protected function BatEvent::defaultUri in Booking and Availability Management Tools for Drupal 7

Override this in order to implement a custom default URI and specify 'entity_class_uri' as 'uri callback' hook_entity_info().

Overrides Entity::defaultUri

File

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

Class

BatEvent
The class used for Event entities.

Code

protected function defaultUri() {
  return array(
    'path' => 'event/' . $this->event_id,
  );
}