Skip to content

Kirby 5.1.2

$userBlueprint->field()

Returns a single field definition by name

$userBlueprint->field(string $name): array|null

Parameters

Name Type Default
$namerequired string no default value

Return types

arrayornull

This method modifies the existing $userblueprint object it is applied to and returns it again.

Parent class

Kirby\Cms\UserBlueprint inherited from Kirby\Cms\Blueprint