You are here

public function i18n_object_wrapper::get_path in Internationalization 7

Get link for item

2 methods override i18n_object_wrapper::get_path()
i18n_menu_link::get_path in i18n_menu/i18n_menu.inc
Get path for item
i18n_path_object::get_path in i18n_path/i18n_path.inc
Get path for item

File

./i18n_object.inc, line 118
i18n Object Class

Class

i18n_object_wrapper
Object wrapper

Code

public function get_path() {
  if ($uri = entity_uri($this->type, $this->object)) {
    return $uri['path'];
  }
}