eZ\Publish\Core\FieldType\RichText\Converter::convert PHP Method

convert() public method

Converts given $xmlDoc into another \DOMDocument object.
public convert ( DOMDocument $xmlDoc ) : DOMDocument
$xmlDoc DOMDocument
return DOMDocument
    public function convert(DOMDocument $xmlDoc);

Usage Example

 /**
  * {@inheritDoc}
  */
 public function postProcessValueHash($outgoingValueHash)
 {
     $document = new DOMDocument();
     $document->loadXML($outgoingValueHash['xml']);
     $outgoingValueHash['xhtml5edit'] = $this->docbookToXhtml5EditConverter->convert($document)->saveXML();
     return $outgoingValueHash;
 }
All Usage Examples Of eZ\Publish\Core\FieldType\RichText\Converter::convert
Converter