Skip to content

Kirby 6.0.0

SiteBlueprint::fieldError()

Creates an error field with the given error message

SiteBlueprint::fieldError(string $name, string $message): array

Parameters

Name Type Default
$namerequired string no default value
$messagerequired string no default value

Return type

array

Parent class

Kirby\Blueprint\SiteBlueprint inherited from Kirby\Blueprint\Blueprint