public function NullSegmenter::filterData in Translation Management Tool 8
Remove the "tmgmt-segment" tags from the data.
This function will return the same data removing the "tmgmt-segment" XML Element.
Parameters
string $segmented_text: A string with "tmgmt-segment" tags.
Return value
string A string without the "tmgmt-segment" tags.
Overrides SegmenterInterface::filterData
File
- src/
NullSegmenter.php, line 15
Class
- NullSegmenter
- Null implementation for the SegmenterInterface.
Namespace
Drupal\tmgmtCode
public function filterData($segmented_text) {
return $segmented_text;
}