You are here

public function TMGMTJob::defaultUri in Translation Management Tool 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

entity/tmgmt.entity.job.inc, line 162

Class

TMGMTJob
Entity class for the tmgmt_job entity.

Code

public function defaultUri() {
  return array(
    'path' => 'admin/tmgmt/jobs/' . $this->tjid,
  );
}