RenderViewHelper

final class \TYPO3\CMS\Form\ViewHelpers\RenderViewHelper

Extends
AbstractViewHelper
Uses
CompileWithRenderStatic

Main Entry Point to render a Form into a Fluid Template

Usage

Default::

{namespace formvh=TYPO3\CMS\Form\ViewHelpers} <formvh:render factoryClass="NameOfYourCustomFactoryClass" />

The factory class must implement :php:TYPO3\CMS\Form\Domain\Factory\FormFactoryInterface.

Scope: frontend

Table of Contents

Properties

$escapeOutput  : bool

Methods

initializeArguments()  : void
renderStatic()  : string|null

Properties

$escapeOutput

protected bool $escapeOutput = false

Methods

initializeArguments()

public initializeArguments() : void

renderStatic()

public static renderStatic(array $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string|null

Parameters

$arguments : array
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface

Return values

string|null
On this page