You are here

function hook_lingotek_entity_upload_alter in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lingotek.api.inc \hook_lingotek_entity_upload_alter()

Alter the xml content just before sending to Lingotek for translation.

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 being sent
  • xml: a LingotekXMLElement object containing the content to be translated.
1 function implements hook_lingotek_entity_upload_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_upload_alter in ./lingotek.module
Implements hook_lingotek_entity_upload_alter().
1 invocation of hook_lingotek_entity_upload_alter()
lingotek_entity_xml_body in ./lingotek.util.inc
Return the xml representation of the source content for an entity.

File

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

Code

function hook_lingotek_entity_upload_alter(array &$params) {
}