Skip to content

Kirby 4.5.0

Blueprint::fieldProps()

Normalize field props for a single field

Blueprint::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\Blueprint