hook_entity_translation_insert

function hook_entity_translation_insert

hook_entity_translation_insert(\Drupal\Core\Entity\EntityInterface $translation)

Respond to creation of a new entity translation.

This hook runs once the entity translation has been stored. Note that hook implementations may not alter the stored entity translation data.

Parameters

\Drupal\Core\Entity\EntityInterface $translation: The entity object of the translation just stored.

See also

hook_ENTITY_TYPE_translation_insert(