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