public function LingotekDocument::setApi in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::setApi()
- 7.2 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::setApi()
- 7.3 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::setApi()
- 7.4 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::setApi()
- 7.5 lib/Drupal/lingotek/LingotekDocument.php \LingotekDocument::setApi()
Injects reference to an API object.
Parameters
LingotekApi $api: An instantiated Lingotek API object.
File
- lib/
Drupal/ lingotek/ LingotekDocument.php, line 173 - Defines LingotekDocument.
Class
- LingotekDocument
- A class representing a Lingotek Document
Code
public function setApi(LingotekApi $api) {
$this->api = $api;
}