Rest/Field/TypeValue.php
public function ezrichtext(Field $field)
    {
        return '<![CDATA[' . $this->richHtml5Converter->convert($field->value->xml)->saveHTML() . ']]>';
    }
public function ezrichtext(Field $field)
    {
        return '<![CDATA[' . $this->richHtml5Converter->convert($field->value->xml)->saveHTML() . ']]>';
    }
public function ezrichtext ( Field $ field ) { return '<![CDATA[' . $ this -> richHtml5Converter -> convert ( $ field -> value -> xml ) -> saveHTML ( ) . ']]>' ; }
Method for parsing ezrichtext field.

@param \eZ\Publish\API\Repository\Values\Content\Field $field

@return string
Method for parsing ezrichtext field .