You are here

protected static function LingotekConfigSet::getLidFromTag in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::getLidFromTag()

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

2 calls to LingotekConfigSet::getLidFromTag()
LingotekConfigSet::getNonLingotekLocalesTargets in lib/Drupal/lingotek/LingotekConfigSet.php
Get all locales target entries that were not created by Lingotek
LingotekConfigSet::saveSegmentTranslations in lib/Drupal/lingotek/LingotekConfigSet.php
Save segment target translations for the given language

File

lib/Drupal/lingotek/LingotekConfigSet.php, line 1235
Defines LingotekConfigSet.

Class

LingotekConfigSet
A class wrapper for Lingotek-specific behavior on ConfigSets.

Code

protected static function getLidFromTag($tag) {

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