Sulu\Component\Content\SimpleContentType::removeIllegalCharacters PHP Метод

removeIllegalCharacters() защищенный Метод

Remove illegal characters from content string, else PHPCR would throw an PHPCR\ValueFormatException if an illegal characters is detected.
protected removeIllegalCharacters ( string $content ) : string
$content string
Результат string
    protected function removeIllegalCharacters($content)
    {
        return preg_replace(NodeProcessor::VALIDATE_STRING, '', $content);
    }