You are here

public function LingotekContentMetadata::getDocumentId in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8.2 src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()
  2. 4.0.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()
  3. 3.0.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()
  4. 3.1.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()
  5. 3.2.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()
  6. 3.3.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()
  7. 3.5.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()
  8. 3.6.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()
  9. 3.7.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()
  10. 3.8.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::getDocumentId()

Gets the Lingotek document id.

Return value

string The Lingotek document ID.

File

src/Entity/LingotekContentMetadata.php, line 163

Class

LingotekContentMetadata
Defines the Lingotek content metadata entity.

Namespace

Drupal\lingotek\Entity

Code

public function getDocumentId() {
  return $this->document_id->value;
}