You are here

protected function CaseTrackerCase::defaultUri in Case Tracker 7.2

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

includes/entity/CaseTrackerCase.inc, line 16

Class

CaseTrackerCase
The class used for case entities

Code

protected function defaultUri() {

  // TODO
  return array(
    'path' => 'project/TODO/case/' . $this->cid,
  );
}