RenderViewHelper

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()  : mixed
Initialize the arguments.
renderStatic()  : string

Properties

$escapeOutput

protected bool $escapeOutput = false

Methods

initializeArguments()

Initialize the arguments.

public initializeArguments() : mixed

renderStatic()

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

Parameters

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

Return values

string
On this page