public function LingotekConfigChunk::setDocumentId in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.4 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::setDocumentId()
- 7.5 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::setDocumentId()
Set the chunk's document ID in the config metadata table
File
- lib/
Drupal/ lingotek/ LingotekConfigChunk.php, line 514 - Defines LingotekConfigChunk.
Class
- LingotekConfigChunk
- A class wrapper for Lingotek-specific behavior on ConfigChunks.
Code
public function setDocumentId($doc_id) {
$this
->setMetadataValue('document_id', $doc_id);
return $this;
}