Skip to content

Kirby 6.0.0

$fieldsRegistry->has()

Checks if a name is already taken

$fieldsRegistry->has() 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->has(string|int $name): bool

Parameters

Name Type Default
$namerequired stringorint no default value

Return type

bool

Parent class

Kirby\Blueprint\FieldsRegistry