protected static function LingotekConfigChunk::getLidFromTag in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.3 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::getLidFromTag()
- 7.5 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::getLidFromTag()
Return the lid for locales source/target tables from the XML tag name
2 calls to LingotekConfigChunk::getLidFromTag()
- LingotekConfigChunk::getNonLingotekLocalesTargets in lib/
Drupal/ lingotek/ LingotekConfigChunk.php - Get all locales target entries that were not created by Lingotek
- LingotekConfigChunk::saveSegmentTranslations in lib/
Drupal/ lingotek/ LingotekConfigChunk.php - Save segment target translations for the given language
File
- lib/
Drupal/ lingotek/ LingotekConfigChunk.php, line 873 - 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);
}