You are here

public function LingotekDocumentLockedException::getOldDocumentId in Lingotek Translation 3.6.x

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

Get the document id which was already locked.

Return value

string

File

src/Exception/LingotekDocumentLockedException.php, line 52

Class

LingotekDocumentLockedException
An exception for issues when a document is already locked because a new version exists.

Namespace

Drupal\lingotek\Exception

Code

public function getOldDocumentId() {
  return $this->oldDocumentId;
}