You are here

public function LingotekConfigSet::setDocumentId in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::setDocumentId()

Assign the set's document ID in the config metadata table

File

lib/Drupal/lingotek/LingotekConfigSet.php, line 658
Defines LingotekConfigSet.

Class

LingotekConfigSet
A class wrapper for Lingotek-specific behavior on ConfigSets.

Code

public function setDocumentId($doc_id) {
  $this
    ->setMetadataValue('document_id', $doc_id);
  return $this;
}