You are here

function hook_entity_translation_insert in Entity Translation 7

Allows modules to act when a new translation is added.

Parameters

$entity_type: The entity type.

$entity: The entity.

$translation: The inserted translation array.

$values: The translated set of values, if any.

1 function implements hook_entity_translation_insert()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

entity_translation_test_entity_translation_insert in tests/entity_translation_test.module
Implements hook_entity_translation_insert().

File

./entity_translation.api.php, line 124
API documentation for the Entity translation module.

Code

function hook_entity_translation_insert($entity_type, $entity, $translation, $values = array()) {
}