You are here

protected static function LingotekConfigChunk::getLidFromTag in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.4 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::getLidFromTag()
  2. 7.5 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::getLidFromTag()

Return the lid for locales source/target tables from the XML tag name

1 call to LingotekConfigChunk::getLidFromTag()
LingotekConfigChunk::saveSegmentTranslations in lib/Drupal/lingotek/LingotekConfigChunk.php
Save segment target translations for the given language

File

lib/Drupal/lingotek/LingotekConfigChunk.php, line 848
Defines LingotekConfigChunk.

Class

LingotekConfigChunk
A class wrapper for Lingotek-specific behavior on ConfigChunks.

Code

protected static function getLidFromTag($tag) {

  // for now, remove the 'config_' as quickly as possible
  return substr($tag, self::TAG_PREFIX_LENGTH);
}