Skip to content

Kirby 5.0.4

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