BeforeFormIsCreatedEvent extends AbstractFormEvent

FinalYes

Listeners to this Event will be able to modify the form definition and persistence identifier before a new form is created.

Table of Contents

Properties

$form  : array<string|int, mixed>
$formPersistenceIdentifier  : string

Methods

__construct()  : mixed

Properties

$form

public array<string|int, mixed> $form

$formPersistenceIdentifier

public string $formPersistenceIdentifier

Methods

__construct()

public __construct(string $formPersistenceIdentifier, array{type: string, label: string, identifier: string, prototypeName: string, renderables?: array} $form) : mixed
Parameters
$formPersistenceIdentifier : string
$form : array{type: string, label: string, identifier: string, prototypeName: string, renderables?: array}

The form definition as array. The array contains at least the following keys: type, label, identifier, prototypeName. Optional the array may contain a key "renderables" with predefined renderables of the form.


        
On this page

Search results