Skip to content

Kirby 4.0.0

SiteBlueprint::fieldProps()

Normalize field props for a single field

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