You are here

function hook_tmgmt_field_post_populate_entity_alter in Translation Management Tool 7

Alter an entity object after populating its field with translations.

Parameters

object $entity: An entity object.

string $entity_type: The entity type.

array $data: Source field data.

string $langcode: The language of retrieved field values.

1 invocation of hook_tmgmt_field_post_populate_entity_alter()
tmgmt_field_populate_entity in sources/field/tmgmt_field.module
Populates a field on an object with the provided field values.

File

sources/field/tmgmt_field.api.php, line 104

Code

function hook_tmgmt_field_post_populate_entity_alter(&$entity, $entity_type, $data, $langcode) {
}