Skip to content

Kirby 6.0.0

$fieldsRegistry->get()

Returns the props of a single field. The lookup is case-insensitive, just like the namespace.

$fieldsRegistry->get() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$fieldsRegistry->get(string|int $name): array|null

Parameters

Name Type Default
$namerequired stringorint no default value

Return types

arrayornull

Parent class

Kirby\Blueprint\FieldsRegistry