Normalizer::normalizeFieldsProps()
Normalizes all fields and adds automatic labels, types and widths.
Normalizer::normalizeFieldsProps() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
Normalizer::normalizeFieldsProps(mixed $fields, FieldsRegistry|null $definitions = null): array
Parameters
| Name | Type | Default |
|---|---|---|
| $fieldsrequired | mixed |
no default value |
| $definitions | Kirby\Blueprint\FieldsRegistryornull |
null
|
Return type
array<string|int, array>