You are here

public function MediaEntityTranslationHandler::__construct in D7 Media 7.3

Same name and namespace in other branches
  1. 7.4 includes/MediaEntityTranslationHandler.inc \MediaEntityTranslationHandler::__construct()
  2. 7.2 includes/MediaEntityTranslationHandler.inc \MediaEntityTranslationHandler::__construct()

Constructor function.

Overrides EntityTranslationDefaultHandler::__construct

File

includes/MediaEntityTranslationHandler.inc, line 17
Media translation handler for the entity translation module.

Class

MediaEntityTranslationHandler
Media translation handler.

Code

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