public function SegmenterInterface::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.
1 method overrides SegmenterInterface::filterData()
- NullSegmenter::filterData in src/
NullSegmenter.php - Remove the "tmgmt-segment" tags from the data.
File
- src/
SegmenterInterface.php, line 25
Class
- SegmenterInterface
- This interface offers a suite of methods to add segments and filter data.
Namespace
Drupal\tmgmtCode
public function filterData($segmented_text);