$roleField->fill()
Sets a new value for the field
$roleField->fill(mixed $value): RoleField
Parameters
| Name | Type | Default |
|---|---|---|
| $valuerequired | mixed |
no default value |
Return type
Kirby\Panel\Form\Field\RoleField
This method does not modify the existing $rolefield object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Panel\Form\Field\RoleField
inherited from Kirby\Form\Field\ValueField