Skip to content

UserBlueprint::fieldProps()

Normalize field props for a single field

UserBlueprint::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\UserBlueprint inherited from Kirby\Cms\Blueprint