RenderContentElementPreviewViewHelper extends AbstractViewHelper uses CompileWithRenderStatic

Used by the form editor.

Render a content element preview like the page module

Scope: backend

Internal

Table of Contents

Properties

$escapeOutput  : bool
As this ViewHelper renders HTML, the output must not be escaped.

Methods

initializeArguments()  : mixed
Initialize arguments.
renderStatic()  : string

Properties

$escapeOutput

As this ViewHelper renders HTML, the output must not be escaped.

protected bool $escapeOutput = false

Methods

initializeArguments()

Initialize arguments.

public initializeArguments() : mixed
Internal

renderStatic()

public static renderStatic(array<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
$arguments : array<string|int, mixed>
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface
Internal
Return values
string

        
On this page

Search results