You are here

public static function LingotekSync::getNodeIdFromDocId in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getNodeIdFromDocId()
  2. 7.3 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getNodeIdFromDocId()
  3. 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getNodeIdFromDocId()
  4. 7.6 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::getNodeIdFromDocId()

File

lib/Drupal/lingotek/LingotekSync.php, line 819
LingotekSync

Class

LingotekSync
A utility class for Lingotek Syncing.

Code

public static function getNodeIdFromDocId($lingotek_document_id) {
  list($id, $type) = LingotekSync::getEntityIdFromDocId($lingotek_document_id);
  return array(
    $id,
    $type,
  );
}