Skip to content

Kirby 5.0.4

$layoutField->icon()

Optional icon that will be shown at the end of the field

$layoutField->icon(): string|null

Return types

stringornull

This method modifies the existing $layoutfield object it is applied to and returns it again.

Parent class

Kirby\Form\Field\LayoutField inherited from Kirby\Form\FieldClass