protected function BatType::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_unit/ bat_unit.module, line 1925
Class
- BatType
- The class used for Bat Type entities.
Code
protected function defaultUri() {
return array(
'path' => 'type/' . $this->type_id,
);
}