You are here

public function LingotekConfigSet::lingotekDocumentId in Lingotek Translation 7.7

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

Get the Lingotek document ID for this entity.

Return value

mixed The integer document ID if the entity is associated with a Lingotek document. FALSE otherwise.

Overrides LingotekTranslatableEntity::lingotekDocumentId

File

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

Class

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

Code

public function lingotekDocumentId() {
  return $this
    ->getMetadataValue('document_id');
}