NewFormTemplateConfiguration

final readonly class \TYPO3\CMS\Form\Domain\DTO\FormConfiguration\NewFormTemplateConfiguration

Typed representation of a single entry within "formManager.selectablePrototypesConfiguration.*.newFormTemplates".

Table of Contents

Properties

$label  : string|null
$templatePath  : string

Methods

__construct()  : mixed
fromArray()  : self
toArray()  : array<string, string>
Reproduce the raw configuration array, e.g. to hand it over to the JavaScript form manager app.

Properties

Methods

__construct()

public __construct(string $templatePath[, string|null $label = null ]) : mixed

Parameters

$templatePath : string
$label : string|null = null

fromArray()

public static fromArray(array<string, mixed> $configuration) : self

Parameters

$configuration : array<string, mixed>

Return values

self

toArray()

Reproduce the raw configuration array, e.g. to hand it over to the JavaScript form manager app.

public toArray() : array<string, string>

Return values

array<string, string>
On this page