Skip to content

Kirby 4.5.0

FileBlueprint::fieldProps()

Normalize field props for a single field

FileBlueprint::fieldProps(array|string $props): array

Parameters

Name Type Default
$props * array|string

Return type

array

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException If the filed name is missing or the field type is invalid

Parent class

Kirby\Cms\FileBlueprint inherited from Kirby\Cms\Blueprint