Skip to content

Kirby 6.0.0

$linkField->availableTypes()

Returns the setup of all supported link types, each with a callback to detect, create and validate the link

$linkField->availableTypes(): array

Return type

array<string, array{detect: Closure, link: Closure, validate: Closure}>

Parent class

Kirby\Form\Field\LinkField