You are here

public function EntityTranslationHandlerInterface::setEntity in Entity Translation 7

Replaces the wrapped entity.

Parameters

$entity: The entity to be translated.

1 method overrides EntityTranslationHandlerInterface::setEntity()
EntityTranslationDefaultHandler::setEntity in includes/translation.handler.inc

File

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

Class

EntityTranslationHandlerInterface
Interface for enabling entity translation.

Code

public function setEntity($entity);