You are here

protected function Xml::unEscapePluralStringDelimiter 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::unEscapePluralStringDelimiter()
1 call to Xml::unEscapePluralStringDelimiter()
Xml::import in src/Plugin/tmgmt_file/Format/Xml.php
Implements TMGMTFileExportInterface::import().

File

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

Class

Xml
Export into XML.

Namespace

Drupal\tmgmt_smartling\Plugin\tmgmt_file\Format

Code

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