RendererInterface

Base interface for Renderers. A Renderer is used to render a form.

Scope: frontend This interface is meant to be implemented by developers, although often you will subclass AbstractElementRenderer ().

Table of Contents

Methods

getFormRuntime()  : FormRuntime
render()  : string
Note: This method is expected to call the 'beforeRendering' hook on each $renderable
setControllerContext()  : mixed
Set the controller context which should be used
setFormRuntime()  : mixed

Methods

render()

Note: This method is expected to call the 'beforeRendering' hook on each $renderable

public render() : string
Return values
string

the rendered $formRuntime

setControllerContext()

Set the controller context which should be used

public setControllerContext(ControllerContext $controllerContext) : mixed
Deprecated

since v11, will be removed with v12.

Parameters
$controllerContext : ControllerContext

        
On this page

Search results