public function TMGMTJobItem::defaultUri in Translation Management Tool 7
Overrides Entity::defaultUri
See also
File
- entity/
tmgmt.entity.job_item.inc, line 157
Class
- TMGMTJobItem
- Entity class for the tmgmt_job entity.
Code
public function defaultUri() {
// The path of a job item is not directly below the job that it belongs to.
// Having to maintain two unknowns / wildcards (job and job item) in the
// path is more complex than it has to be. Instead we just append the
// additional breadcrumb pieces manually with _tmgmt_ui_breadcrumb().
return array(
'path' => 'admin/tmgmt/items/' . $this->tjiid,
);
}