Class

eZ\Publish\Core\FieldType\RichText\Converter\Render\Embed

class Embed extends Render implements Converter

RichText Embed converter injects rendered embed payloads into embed elements.

Methods

__construct(RendererInterface $renderer, LoggerInterface $logger = null)

DOMDocument convert(DOMDocument $document)

Injects rendered payloads into embed elements.

Details

at line 48
public __construct(RendererInterface $renderer, LoggerInterface $logger = null)

Parameters

RendererInterface $renderer
LoggerInterface $logger

at line 298
public DOMDocument convert(DOMDocument $document)

Injects rendered payloads into embed elements.

Parameters

DOMDocument $document

Return Value

DOMDocument