You are here

public function TMGMTLocalTask::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

translators/tmgmt_local/entity/tmgmt_local.entity.task.inc, line 88

Class

TMGMTLocalTask
Entity class for the local task entity.

Code

public function defaultUri() {
  return array(
    'path' => 'translate/' . $this->tltid,
  );
}