protected function CaseTrackerProject::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/ CaseTrackerProject.inc, line 27
Class
- CaseTrackerProject
- The class used for project entities
Code
protected function defaultUri() {
return array(
'path' => 'project/' . $this->pid,
);
}