You are here

public function LingotekConfigSet::lingotekDocumentId in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 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 1087
Defines LingotekConfigSet.

Class

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

Code

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