Allows to alter a text's segment masking the HTML tags from a tmgmt-tag.
string $source_text: The source's text segment to alter.
string $translation_text: The translation's text segment to alter.
array $context: An associative array containing:
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
function hook_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);
}