You are here

protected static function EntityTranslationDefaultHandler::emptyTranslations in Entity Translation 7

Returns an empty translations data structure.

4 calls to EntityTranslationDefaultHandler::emptyTranslations()
EntityTranslationDefaultHandler::getTranslations in includes/translation.handler.inc
EntityTranslationDefaultHandler::loadMultiple in includes/translation.handler.inc
Read the translation data from the storage.
EntityTranslationDefaultHandler::loadTranslations in includes/translation.handler.inc
EntityTranslationDefaultHandler::setEntity in includes/translation.handler.inc

File

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

Class

EntityTranslationDefaultHandler
Class implementing the default entity translation behaviours.

Code

protected static function emptyTranslations() {
  return (object) array(
    'original' => NULL,
    'data' => array(),
  );
}