Skip to content

Kirby 5.0.4

$pageBlueprint->field()

Returns a single field definition by name

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

Parameters

Name Type Default
$namerequired string no default value

Return types

arrayornull

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

Parent class

Kirby\Cms\PageBlueprint inherited from Kirby\Cms\Blueprint