Skip to content

Kirby 6.0.0

$translationField->fill()

Sets a new value for the field

$translationField->fill(mixed $value): TranslationField

Parameters

Name Type Default
$valuerequired mixed no default value

Return type

Kirby\Panel\Form\Field\TranslationField

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

Parent class

Kirby\Panel\Form\Field\TranslationField inherited from Kirby\Form\Field\ValueField