You are here

function hook_lingotek_entity_download_alter in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lingotek.api.inc \hook_lingotek_entity_download_alter()

Alter the xml content just after receiving a translated entity from Lingotek.

Parameters

array $params: An associative array containing the following:

  • entity_type: a string naming the entity type
  • entity: a reference to the entity object for which content is received.
  • xml: a LingotekXMLElement object containing the translated content.
  • langcode: the Drupal language code associated with the content.
1 function implements hook_lingotek_entity_download_alter()

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

lingotek_lingotek_entity_download_alter in ./lingotek.module
Implements hook_lingotek_entity_download_alter().
1 invocation of hook_lingotek_entity_download_alter()
lingotek_process_entity_xml in ./lingotek.remote.inc

File

./lingotek.api.inc, line 53
Describe hooks provided by the Lingotek Translation module.

Code

function hook_lingotek_entity_download_alter(array &$params) {
}