You are here

public function EntityTranslationCommentHandler::__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.comment.inc, line 14
Comment translation handler for the entity translation module.

Class

EntityTranslationCommentHandler
Comment translation handler.

Code

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