You are here

public function LingotekNode::documentLingotekXML in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.2 lib/Drupal/lingotek/LingotekNode.php \LingotekNode::documentLingotekXML()
  2. 7.4 lib/Drupal/lingotek/LingotekNode.php \LingotekNode::documentLingotekXML()

Gets the contents of this item formatted as XML that can be sent to Lingotek.

Return value

string The XML document representing the entity's translatable content.

Overrides LingotekTranslatableEntity::documentLingotekXML

File

lib/Drupal/lingotek/LingotekNode.php, line 147
Defines LingotekNode.

Class

LingotekNode
A class wrapper for Lingotek-specific behavior on nodes.

Code

public function documentLingotekXML() {
  return lingotek_xml_node_body($this->node);
}