Skip to content

Kirby 6.0.0

$linkField->fill()

Sets a new value for the field

$linkField->fill(mixed $value): LinkField

Parameters

Name Type Default
$valuerequired mixed no default value

Return type

Kirby\Form\Field\LinkField

This method does not modify the existing $linkfield object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Form\Field\LinkField inherited from Kirby\Form\Field\ValueField