You are here

protected function Xml::escapePluralStringDelimiter in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.3 src/Plugin/tmgmt_file/Format/Xml.php \Drupal\tmgmt_smartling\Plugin\tmgmt_file\Format\Xml::escapePluralStringDelimiter()
1 call to Xml::escapePluralStringDelimiter()
Xml::export in src/Plugin/tmgmt_file/Format/Xml.php
.

File

src/Plugin/tmgmt_file/Format/Xml.php, line 198

Class

Xml
Export into XML.

Namespace

Drupal\tmgmt_smartling\Plugin\tmgmt_file\Format

Code

protected function escapePluralStringDelimiter($string) {
  return preg_replace("/\3/", "!PLURAL_STRING_DELIMITER", $string);
}