public function EntityTranslationDefaultHandler::getEditPath in Entity Translation 7
Overrides EntityTranslationHandlerInterface::getEditPath
See also
EntityTranslationHandlerInterface::getEditPath()
2 calls to EntityTranslationDefaultHandler::getEditPath()
File
- includes/
translation.handler.inc, line 1069 - Default translation handler for the translation module.
Class
- EntityTranslationDefaultHandler
- Class implementing the default entity translation behaviours.
Code
public function getEditPath($langcode = NULL) {
return empty($this->editPath) ? FALSE : (empty($langcode) ? $this->editPath : $this->editPath . '/' . $langcode);
}