ArrayFormFactory extends AbstractFormFactory

A factory that creates a FormDefinition from an array

Scope: frontend / backend

Table of Contents

Methods

build()  : FormDefinition
Build a form definition, depending on some configuration.
addNestedRenderable()  : mixed
Add form elements to the $parentRenderable
triggerFormBuildingFinished()  : mixed
Helper to be called by every AbstractFormFactory after everything has been built to call the "afterBuildingFinished" hook on all form elements.

Methods

build()

Build a form definition, depending on some configuration.

public build(array<string|int, mixed> $configuration[, string $prototypeName = null ]) : FormDefinition
Parameters
$configuration : array<string|int, mixed>
$prototypeName : string = null
Internal
Tags
throws
RenderingException
Return values
FormDefinition

triggerFormBuildingFinished()

Helper to be called by every AbstractFormFactory after everything has been built to call the "afterBuildingFinished" hook on all form elements.

protected triggerFormBuildingFinished(FormDefinition $form) : mixed
Parameters
$form : FormDefinition

        
On this page

Search results