You are here

public function EntityTranslationHandlerInterface::isWrappedEntity in Entity Translation 7

Checks that the wrapped entity matches the give entity

Parameters

$entity_type: The type of the entity to be matched.

$entity: The entity to be matched.

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

File

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

Class

EntityTranslationHandlerInterface
Interface for enabling entity translation.

Code

public function isWrappedEntity($entity_type, $entity);