You are here

public function EntityTranslationScaldHandler::__construct in Scald: Media Management made easy 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/scald.translation_handler.inc, line 13
Translation handler for the Scald Atom entity.

Class

EntityTranslationScaldHandler
Class implementing the entity translation behaviours for Scald Atom.

Code

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