function tmgmt_smartling_acquia_cohesion_tmgmt_smartling_xml_file_import_data_alter in TMGMT Translator Smartling 8.4
Implements hook_tmgmt_smartling_xml_file_import_data_alter().
File
- modules/
tmgmt_smartling_acquia_cohesion/ tmgmt_smartling_acquia_cohesion.module, line 20 - Contains Acquia Cohesion support implementation.
Code
function tmgmt_smartling_acquia_cohesion_tmgmt_smartling_xml_file_import_data_alter(array &$data) {
$data = \Drupal::service('tmgmt_smartling_acquia_cohesion.data_converter')
->findAndConvertCohesionXmlDataToCohesionJsonData($data);
}