private PoItem::formatString($string)
Formats a string for output on multiple lines.
File
core/lib/Drupal/Component/Gettext/PoItem.php, line 262
Class
PoItem PoItem handles one translation.
Namespace
Drupal\Component\Gettext
Code
private function formatString($string) {
// Escape characters for processing.
$string = addcslashes($string, "\0..\37\\\"");
// Always include a line break after the explicit \n line breaks from
// the source string. Otherwise wrap at 70 chars to acco