Skip to content

Kirby 4.5.0

PageBlueprint::fieldProps()

Normalize field props for a single field

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