You are here

function hook_entity_translation_delete in Entity Translation 7

Allows modules to act when a translation is deleted.

Parameters

$entity_type: The entity type.

$entity: The entity.

$langcode: The langcode of the translation which was deleted.

3 functions implement hook_entity_translation_delete()

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

entity_translation_i18n_menu_entity_translation_delete in entity_translation_i18n_menu/entity_translation_i18n_menu.module
Implements hook_entity_translation_delete().
entity_translation_test_entity_translation_delete in tests/entity_translation_test.module
Implements hook_entity_translation_delete().
path_entity_translation_delete in ./entity_translation.module
Implements hook_entity_translation_delete().

File

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

Code

function hook_entity_translation_delete($entity_type, $entity, $langcode) {
}