SelectablePrototypeConfiguration

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

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

Table of Contents

Properties

$identifier  : string
$label  : string|null
$newFormTemplates  : array

Methods

__construct()  : mixed
fromArray()  : self
hasTemplatePath()  : bool
Check whether the given template path is configured for this prototype.
toArray()  : array<string, mixed>
Reproduce the raw configuration array, e.g. to hand it over to the JavaScript form manager app.

Properties

$newFormTemplates

public array $newFormTemplates = []

Methods

fromArray()

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

Parameters

$configuration : array<string, mixed>

Return values

self

hasTemplatePath()

Check whether the given template path is configured for this prototype.

public hasTemplatePath(string $templatePath) : bool

Parameters

$templatePath : string

Return values

bool

toArray()

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

public toArray() : array<string, mixed>

Return values

array<string, mixed>
On this page