public function TMGMTLocalTaskItem::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_item.inc, line 81
Class
- TMGMTLocalTaskItem
- Entity class for the local task item entity.
Code
public function defaultUri() {
return array(
'path' => 'translate/' . $this->tltid . '/item/' . $this->tltiid,
);
}