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
- setFormRuntime() : void
Methods
getFormRuntime()
public
getFormRuntime() : FormRuntime
Return values
FormRuntimerender()
Note: This method is expected to call the 'beforeRendering' hook on each $renderable
public
render() : string
Return values
string —the rendered $formRuntime
setFormRuntime()
public
setFormRuntime(FormRuntime $formRuntime) : void
Parameters
- $formRuntime : FormRuntime