You are here

protected function AcquiaCohesionDataConverter::getTmgmtKeyFromDataKey in TMGMT Translator Smartling 8.4

Parameters

string $dataKey:

Return value

string

1 call to AcquiaCohesionDataConverter::getTmgmtKeyFromDataKey()
AcquiaCohesionDataConverter::findAndConvertCohesionXmlDataToCohesionJsonData in modules/tmgmt_smartling_acquia_cohesion/src/AcquiaCohesionDataConverter.php
Converts TMGMT Smartling's XML data items to Cohesion's JSON components.

File

modules/tmgmt_smartling_acquia_cohesion/src/AcquiaCohesionDataConverter.php, line 220

Class

AcquiaCohesionDataConverter
Class AcquiaCohesionDataConverter @package Drupal\tmgmt_smartling_acquia_cohesion

Namespace

Drupal\tmgmt_smartling_acquia_cohesion

Code

protected function getTmgmtKeyFromDataKey($dataKey) {
  return $this
    ->explodeDataKey($dataKey)[0];
}