SelectablePrototypeConfiguration

Read onlyYes
FinalYes

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

Internal

Table of Contents

Properties

$identifier  : string
$label  : string|null
$newFormTemplates  : array<string|int, mixed>

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<string|int, mixed> $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

Search results