You are here

protected function BatBooking::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_booking/bat_booking.module, line 232

Class

BatBooking
The class used for booking entities.

Code

protected function defaultUri() {
  return array(
    'path' => 'admin/bat/config/booking/manage/' . $this->booking_id,
  );
}