NewFormTemplateConfiguration
Read onlyYes
FinalYes
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
$label
public
string|null
$label
= null
$templatePath
public
string
$templatePath
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
selftoArray()
Reproduce the raw configuration array, e.g. to hand it over to the JavaScript form manager app.
public
toArray() : array<string, string>