You are here

protected function EntityTranslationDefaultHandler::getTranslationsKey in Entity Translation 7

Returns the translation object key for the wrapped entity type.

5 calls to EntityTranslationDefaultHandler::getTranslationsKey()
EntityTranslationDefaultHandler::getTranslations in includes/translation.handler.inc
EntityTranslationDefaultHandler::loadTranslations in includes/translation.handler.inc
EntityTranslationDefaultHandler::removeRevisionTranslations in includes/translation.handler.inc
EntityTranslationDefaultHandler::removeTranslation in includes/translation.handler.inc
EntityTranslationDefaultHandler::setEntity in includes/translation.handler.inc

File

includes/translation.handler.inc, line 1726
Default translation handler for the translation module.

Class

EntityTranslationDefaultHandler
Class implementing the default entity translation behaviours.

Code

protected function getTranslationsKey() {
  return isset($this->entityInfo['entity keys']['translations']) ? $this->entityInfo['entity keys']['translations'] : FALSE;
}