function tmgmt_test_tmgmt_data_item_text_output_alter in Translation Management Tool 8
Implements hook_tmgmt_data_item_text_output_alter().
File
- tmgmt_test/
tmgmt_test.module, line 50 - Module file of the translation management test module.
Code
function tmgmt_test_tmgmt_data_item_text_output_alter(&$source_text, &$translation_text, array $context) {
$source_text = str_replace('First', 'Second', $source_text);
$translation_text = str_replace('First', 'Second', $translation_text);
}