You are here

public function EntityTranslationUserHandler::__construct in Entity Translation 7

Initializes an instance of the translation handler.

Parameters

$entity_type: The type of the entity being wrapped.

$entity_info: The entity information for the entity being wrapped.

$entity: The entity being wrapped.

Overrides EntityTranslationDefaultHandler::__construct

File

includes/translation.handler.user.inc, line 14
User translation handler for the entity translation module.

Class

EntityTranslationUserHandler
User translation handler.

Code

public function __construct($entity_type, $entity_info, $entity) {
  parent::__construct('user', $entity_info, $entity);
}